ARM: imx6: dh-imx6: Drop the SF hunk in config
PATCH 1/1 ARM: imx6: dh-imx6: Drop the SF hunk in config
There is now CONFIG_SPL_DM_SPI{,_FLASH}, however keeping CONFIG_DM_SPI{,_FLASH} enabled in SPL seems to grow the SPL by a couple of bytes:
text data bss dec hex filename - 34069 1568 96 35733 8b95 spl/u-boot-spl + 34075 1568 96 35739 8b9b spl/u-boot-spl
In either case, the binary is bootable, so remove the part in board config.
Signed-off-by Marek Vasut <[email protected]>
Cc Andreas Geisreiter <[email protected]>
Cc Jagan Teki <[email protected]>
Cc Ludwig Zenz <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Tom Rini <[email protected]>
--- include/configs/dh_imx6.h | 6 ------ 1 file changed, 6 deletions(-)
include/configs/dh_imx6.h +0 -6
@@ -52,12 +52,6 @@/* SATA Configs */ #define CONFIG_LBA48 -/* SPI Flash Configs */ -#if defined(CONFIG_SPL_BUILD ) -#undef CONFIG_DM_SPI -#undef CONFIG_DM_SPI_FLASH -#endif -/* UART */ #define CONFIG_MXC_UART_BASE UART1_BASE
Signature · 1 line
2.29.2
PATCH 1/1 ARM: imx6: dh-imx6: Drop the SF hunk in config
Quoted 6 lines
There is now CONFIG_SPL_DM_SPI{,_FLASH}, however keeping CONFIG_DM_SPI{,_FLASH} enabled in SPL seems to grow the SPL by a couple of bytes:
text data bss dec hex filename - 34069 1568 96 35733 8b95 spl/u-boot-spl + 34075 1568 96 35739 8b9b spl/u-boot-spl
Quoted 8 lines
In either case, the binary is bootable, so remove the part in board config.
Signed-off-by Marek Vasut <[email protected]>Cc Andreas Geisreiter <[email protected]>Cc Jagan Teki <[email protected]>Cc Ludwig Zenz <[email protected]>Cc Stefano Babic <[email protected]>Cc Tom Rini <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================