From: Jaehoon Chung Date: Sun, 10 May 2020 22:37:01 +0000 (+0900) Subject: board: amlogic: fix build warning and add fdt/initrd_high X-Git-Tag: accepted/tizen/unified/20231106.171643~273 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e6a2f211cf728b75cfb47dfa7ebdd002ea873a6;p=platform%2Fkernel%2Fu-boot.git board: amlogic: fix build warning and add fdt/initrd_high Fix build warning and add fdt_high/initrd_high. (it's taken from Hardkernel u-boot.) Signed-off-by: Jaehoon Chung --- diff --git a/board/amlogic/w400/w400.c b/board/amlogic/w400/w400.c index ec3f35d..7f01273 100644 --- a/board/amlogic/w400/w400.c +++ b/board/amlogic/w400/w400.c @@ -44,7 +44,7 @@ static char *get_dfu_alt_boot(char *interface, char *devstr) return NULL; if (!strncmp(devstr, "0", 1)) - alt_boot = CONFIG_DFU_ALT_SYSTEM_SD; + alt_boot = CONFIG_DFU_ALT_SYSTEM_2; else alt_boot = CONFIG_DFU_ALT_SYSTEM; diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h index d5e33e5..c802ba7 100644 --- a/include/samsung/tizen_amlogic.h +++ b/include/samsung/tizen_amlogic.h @@ -19,7 +19,7 @@ /* DFU */ /* For SD */ -#define CONFIG_DFU_ALT_SYSTEM_SD \ +#define CONFIG_DFU_ALT_SYSTEM_2 \ "Image fat 0 1;" \ "meson64_odroidn2_drm.dtb fat 0 1;" \ "meson64_odroidn2.dtb fat 0 1;" \ @@ -67,6 +67,8 @@ "bootmode=ramdisk\0" \ "bootdev=mmc\0" \ "tfm=setenv bootmode download; run bootcmd\0" \ + "fdt_high=0x20000000\n" \ + "initrd_high=0x3d800000\n" \ "opts=loglevel=4\0" \ "dfu_usb_con=0\0" \ "dfu_interface=mmc\0" \