]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: px30: fix CFG_IRAM_BASE
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 9 Jan 2023 10:36:41 +0000 (11:36 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 16 Jan 2023 10:01:11 +0000 (18:01 +0800)
The IRAM on PX30 (or Int_MEM in datasheet) starts at 0xff0e0000 and not
0xff020000 as rightfully stated in the FIXME comment.

Let's fix it so that BROM_BOOTSOURCE_ID_ADDR points to the correct
address for PX30.

Fixes: 46281a76bee3 ("rockchip: add core px30 headers")
Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
include/configs/px30_common.h

index 3f1595cdc95f5df3c628bf29246294c1d47da4fe..c0896e5f6281f1d9f515bada6ac82ee21725d720 100644 (file)
@@ -8,8 +8,7 @@
 
 #include "rockchip-common.h"
 
-/* FIXME: ff020000 is pmu_mem (10k), while ff0e0000 is regular int_mem */
-#define CFG_IRAM_BASE          0xff020000
+#define CFG_IRAM_BASE          0xff0e0000
 
 #define GICD_BASE                      0xff131000
 #define GICC_BASE                      0xff132000