Message ID | 1400072110-1749-3-git-send-email-yamada.m@jp.panasonic.com |
---|---|
State | Superseded |
Delegated to: | Michal Simek |
Headers | show |
On 05/14/2014 02:55 PM, Masahiro Yamada wrote: > Because Zynq enables CONFIG_OF_CONTROL and CONFIG_OF_SEPARATE > by default, CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME should be > "u-boot-dtb.img", not "u-boot.img". > > Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> > Cc: Michal Simek <michal.simek@xilinx.com> > --- > > include/configs/zynq-common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h > index 731e69b..38e3d54 100644 > --- a/include/configs/zynq-common.h > +++ b/include/configs/zynq-common.h > @@ -253,7 +253,7 @@ > #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 > #define CONFIG_SPL_LIBDISK_SUPPORT > #define CONFIG_SPL_FAT_SUPPORT > -#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" > +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img" Here should be just for sure. #if defined(CONFIG_OF_CONTROL) && defined(CONFIG_OF_SEPARATE) # define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img" #else # define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" #endif Thanks, Michal
Hi Michal, > > diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h > > index 731e69b..38e3d54 100644 > > --- a/include/configs/zynq-common.h > > +++ b/include/configs/zynq-common.h > > @@ -253,7 +253,7 @@ > > #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 > > #define CONFIG_SPL_LIBDISK_SUPPORT > > #define CONFIG_SPL_FAT_SUPPORT > > -#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" > > +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img" > > Here should be just for sure. > #if defined(CONFIG_OF_CONTROL) && defined(CONFIG_OF_SEPARATE) > # define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img" > #else > # define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" > #endif Fixed in v2. Best Regards Masahiro Yamada
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 731e69b..38e3d54 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -253,7 +253,7 @@ #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 #define CONFIG_SPL_LIBDISK_SUPPORT #define CONFIG_SPL_FAT_SUPPORT -#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot.img" +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME "u-boot-dtb.img" #endif /* Address in RAM where the parameters must be copied by SPL. */
Because Zynq enables CONFIG_OF_CONTROL and CONFIG_OF_SEPARATE by default, CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME should be "u-boot-dtb.img", not "u-boot.img". Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Michal Simek <michal.simek@xilinx.com> --- include/configs/zynq-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)