X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfigs%2Fam43xx_evm.h;h=1feb94683435047a3f62f8c0ce4c9bb7d6792078;hb=59b37122b10b1d5d1d8c2b6833cc1075e7275892;hp=966503a6c61cef765a212a2e2332a67eef45e9c8;hpb=3788b451e32bc925c4a63a882acc9c3b4ee895be;p=oweals%2Fu-boot.git diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 966503a6c6..1feb946834 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -13,14 +13,13 @@ #define CONFIG_MAX_RAM_BANK_SIZE (1024 << 21) /* 2GB */ #define CONFIG_SYS_TIMERBASE 0x48040000 /* Use Timer2 */ -#include #include /* NS16550 Configuration */ #define CONFIG_SYS_NS16550_CLK 48000000 -#if defined(CONFIG_SPL_BUILD) || !defined(CONFIG_DM_SERIAL) +#if !defined(CONFIG_SPL_DM) || !defined(CONFIG_DM_SERIAL) +#define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_SERIAL -#define CONFIG_SYS_NS16550_REG_SIZE (-4) #endif /* I2C Configuration */ @@ -57,9 +56,6 @@ * we need to call board_early_init_f. This is taken care of in * s_init when we have SPL used. */ -#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && !defined(CONFIG_SPL) -#define CONFIG_BOARD_EARLY_INIT_F -#endif /* Now bring in the rest of the common code. */ #include @@ -114,9 +110,6 @@ * DM support in SPL */ #ifdef CONFIG_SPL_BUILD -#undef CONFIG_DM_MMC -#undef CONFIG_DM_SPI -#undef CONFIG_DM_SPI_FLASH #undef CONFIG_TIMER #endif @@ -167,11 +160,10 @@ #define CONFIG_QSPI_QUAD_SUPPORT #define CONFIG_TI_EDMA3 -/* Enhance our eMMC support / experience. */ -#define CONFIG_CMD_GPT -#define CONFIG_EFI_PARTITION - #ifndef CONFIG_SPL_BUILD +#include +#include + #define CONFIG_EXTRA_ENV_SETTINGS \ DEFAULT_LINUX_BOOT_ENV \ DEFAULT_MMC_TI_ARGS \