X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fstm32mp15_dh_dhsom.h;h=910d7ef107b574d1af4ab925f7e896e0b49ad9d8;hb=bf2c48fa1a6e068f232d84aae43b5dad654a9017;hp=c79f0272cbe8178f2d2e87c27149221cdd4250a7;hpb=068415eadefbbc81f14d4ce61fcf7a7eb39650d4;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/stm32mp15_dh_dhsom.h b/include/configs/stm32mp15_dh_dhsom.h index c79f027..910d7ef 100644 --- a/include/configs/stm32mp15_dh_dhsom.h +++ b/include/configs/stm32mp15_dh_dhsom.h @@ -11,6 +11,13 @@ /* PHY needs a longer autoneg timeout */ #define PHY_ANEG_TIMEOUT 20000 +#ifdef CONFIG_SPL_BUILD +#define CONFIG_EXTRA_ENV_SETTINGS \ + "dfu_alt_info_ram=u-boot.itb ram " \ + __stringify(CONFIG_SPL_LOAD_FIT_ADDRESS) \ + " 0x800000\0" +#endif + #define STM32MP_BOARD_EXTRA_ENV \ "usb_pgood_delay=1000\0" \ "update_sf=" /* Erase SPI NOR and install U-Boot from SD */ \ @@ -26,6 +33,4 @@ #include -#define CONFIG_SPL_TARGET "u-boot.itb" - #endif