mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-29 17:51:26 +02:00
dm: sunxi: Move driver model CONFIGs to Kconfig
Remove driver model CONFIGs from the board config headers and use Kconfig instead. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
parent
f4aae59fdf
commit
7b051c5235
@ -2,6 +2,8 @@ CONFIG_SPL=y
|
|||||||
CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
|
CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
|
||||||
CONFIG_FDTFILE="sun7i-a20-pcduino3.dtb"
|
CONFIG_FDTFILE="sun7i-a20-pcduino3.dtb"
|
||||||
CONFIG_DM=y
|
CONFIG_DM=y
|
||||||
|
CONFIG_DM_GPIO=y
|
||||||
|
CONFIG_DM_SERIAL=y
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-pcduino3"
|
||||||
CONFIG_OF_CONTROL=y
|
CONFIG_OF_CONTROL=y
|
||||||
CONFIG_OF_SEPARATE=y
|
CONFIG_OF_SEPARATE=y
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
#define CONFIG_SYS_TEXT_BASE 0x4a000000
|
#define CONFIG_SYS_TEXT_BASE 0x4a000000
|
||||||
|
|
||||||
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
|
#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_DM)
|
||||||
# define CONFIG_DM_GPIO
|
|
||||||
# define CONFIG_DM_SERIAL
|
|
||||||
# define CONFIG_DW_SERIAL
|
# define CONFIG_DW_SERIAL
|
||||||
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
# define CONFIG_SYS_MALLOC_F_LEN (1 << 10)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user