* [PATCH] ARM: imx6: dh-imx6: Drop the SF hunk in config
@ 2021-02-04 0:17 Marek Vasut
2021-03-01 11:56 ` sbabic at denx.de
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2021-02-04 0:17 UTC (permalink / raw)
To: u-boot
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 <marex@denx.de>
Cc: Andreas Geisreiter <ageisreiter@dh-electronics.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Ludwig Zenz <lzenz@dh-electronics.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@konsulko.com>
---
include/configs/dh_imx6.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
index 6c7c7171a4a..fce5b0dd451 100644
--- a/include/configs/dh_imx6.h
+++ b/include/configs/dh_imx6.h
@@ -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
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: imx6: dh-imx6: Drop the SF hunk in config
2021-02-04 0:17 [PATCH] ARM: imx6: dh-imx6: Drop the SF hunk in config Marek Vasut
@ 2021-03-01 11:56 ` sbabic at denx.de
0 siblings, 0 replies; 2+ messages in thread
From: sbabic at denx.de @ 2021-03-01 11:56 UTC (permalink / raw)
To: u-boot
> 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 <marex@denx.de>
> Cc: Andreas Geisreiter <ageisreiter@dh-electronics.de>
> Cc: Jagan Teki <jagan@amarulasolutions.com>
> Cc: Ludwig Zenz <lzenz@dh-electronics.de>
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Tom Rini <trini@konsulko.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
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
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-01 11:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 0:17 [PATCH] ARM: imx6: dh-imx6: Drop the SF hunk in config Marek Vasut
2021-03-01 11:56 ` sbabic at denx.de
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.