From 0abe0af9ad27ad235a7640700d29f75c68d3b600 Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Thu, 26 Dec 2019 15:20:04 +0800 Subject: rockchip: rk3308: allow loading larger kernel Image When compile the curren mainline linux kernel(Linux 5.5-rc3) with defconfig, the final Image is 29M, it's much larger than Linux 5.4. On the current u-boot side on rk3308, the gap between kernel and fdt is 25M, the fdt will overwrite kernel Image, so move ftd to a higher memory to give 34M gab for them. Signed-off-by: Andy Yan Reviewed-by: Kever Yang --- include/configs/rk3308_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/configs/rk3308_common.h b/include/configs/rk3308_common.h index a67d3d7d1b7..bd9ac826f3d 100644 --- a/include/configs/rk3308_common.h +++ b/include/configs/rk3308_common.h @@ -42,7 +42,7 @@ #define ENV_MEM_LAYOUT_SETTINGS \ "scriptaddr=0x00500000\0" \ "pxefile_addr_r=0x00600000\0" \ - "fdt_addr_r=0x01f00000\0" \ + "fdt_addr_r=0x02800000\0" \ "kernel_addr_r=0x00680000\0" \ "ramdisk_addr_r=0x04000000\0" -- cgit v1.3.1 From 09e70654a19d2291ae0ed58ab8a9717f166af6f8 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Tue, 31 Dec 2019 15:17:56 +0800 Subject: rockchip: rk3328: add COUNTER_FREQUENCY definition The arch timer needs COUNTER_FREQUENCY to get correct counter, add it to make the timer works correct. Signed-off-by: Kever Yang --- include/configs/rk3328_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h index b14da3a6265..407e5d29311 100644 --- a/include/configs/rk3328_common.h +++ b/include/configs/rk3328_common.h @@ -11,6 +11,7 @@ #define CONFIG_IRAM_BASE 0xff090000 #define CONFIG_ROCKCHIP_STIMER_BASE 0xff1d0020 +#define COUNTER_FREQUENCY 24000000 #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_SKIP_LOWLEVEL_INIT -- cgit v1.3.1