mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
ARM: s32v234evb: Set CONFIG_DM & CONFIG_DM_SERIAL in Kconfig
These symbols are declared in Kconfig, so it's wrong to set them in header files. Note that this is not size-neutral - some 'default y' options will now get turned on by Kconfig, such as CONFIG_CMD_DM=y and CONFIG_DM_STDIO=y. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
This commit is contained in:
parent
ec5c4a8fd6
commit
76dd0f2c3d
2 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@ CONFIG_ARM=y
|
||||||
CONFIG_TARGET_S32V234EVB=y
|
CONFIG_TARGET_S32V234EVB=y
|
||||||
CONFIG_SYS_TEXT_BASE=0x3E800000
|
CONFIG_SYS_TEXT_BASE=0x3E800000
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_SYS_MALLOC_F=y
|
|
||||||
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/s32v234evb/s32v234evb.cfg"
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/s32v234evb/s32v234evb.cfg"
|
||||||
CONFIG_USE_BOOTARGS=y
|
CONFIG_USE_BOOTARGS=y
|
||||||
CONFIG_BOOTARGS="console=ttyLF0 root=/dev/ram rw"
|
CONFIG_BOOTARGS="console=ttyLF0 root=/dev/ram rw"
|
||||||
|
@ -10,5 +9,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
CONFIG_CMD_BOOTZ=y
|
CONFIG_CMD_BOOTZ=y
|
||||||
CONFIG_CMD_MEMTEST=y
|
CONFIG_CMD_MEMTEST=y
|
||||||
CONFIG_ENV_IS_IN_MMC=y
|
CONFIG_ENV_IS_IN_MMC=y
|
||||||
|
CONFIG_DM=y
|
||||||
CONFIG_FSL_ESDHC=y
|
CONFIG_FSL_ESDHC=y
|
||||||
|
CONFIG_DM_SERIAL=y
|
||||||
CONFIG_OF_LIBFDT=y
|
CONFIG_OF_LIBFDT=y
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
#include <asm/arch/imx-regs.h>
|
#include <asm/arch/imx-regs.h>
|
||||||
|
|
||||||
#define CONFIG_S32V234
|
#define CONFIG_S32V234
|
||||||
#define CONFIG_DM
|
|
||||||
|
|
||||||
/* Config GIC */
|
/* Config GIC */
|
||||||
#define CONFIG_GICV2
|
#define CONFIG_GICV2
|
||||||
|
@ -58,7 +57,6 @@
|
||||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
|
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CONFIG_DM_SERIAL
|
|
||||||
#define CONFIG_FSL_LINFLEXUART
|
#define CONFIG_FSL_LINFLEXUART
|
||||||
#define LINFLEXUART_BASE LINFLEXD0_BASE_ADDR
|
#define LINFLEXUART_BASE LINFLEXD0_BASE_ADDR
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue