diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 18:51:16 -0400 |
commit | bbcacdf4cd23f2e5deb9ef916096c956c955243d (patch) | |
tree | 3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /arch/arm/mach-omap2/boot-common.c | |
parent | 22ecb12132a2de80a08654f139ff978176034c38 (diff) | |
parent | 537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff) |
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups
- A few code / build cleanups
Diffstat (limited to 'arch/arm/mach-omap2/boot-common.c')
-rw-r--r-- | arch/arm/mach-omap2/boot-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c index 1268a325038..7cdf7f15898 100644 --- a/arch/arm/mach-omap2/boot-common.c +++ b/arch/arm/mach-omap2/boot-common.c @@ -104,7 +104,7 @@ void save_omap_boot_params(void) sys_boot_device = 1; break; #endif -#if defined(BOOT_DEVICE_CPGMAC) && !defined(CONFIG_SPL_ETH_SUPPORT) +#if defined(BOOT_DEVICE_CPGMAC) && !defined(CONFIG_SPL_ETH) case BOOT_DEVICE_CPGMAC: sys_boot_device = 1; break; @@ -202,10 +202,10 @@ void spl_board_init(void) #if defined(CONFIG_SPL_NAND_SUPPORT) || defined(CONFIG_SPL_ONENAND_SUPPORT) gpmc_init(); #endif -#if defined(CONFIG_SPL_I2C_SUPPORT) && !CONFIG_IS_ENABLED(DM_I2C) +#if defined(CONFIG_SPL_I2C) && !CONFIG_IS_ENABLED(DM_I2C) i2c_init(CONFIG_SYS_OMAP24_I2C_SPEED, CONFIG_SYS_OMAP24_I2C_SLAVE); #endif -#if defined(CONFIG_AM33XX) && defined(CONFIG_SPL_MUSB_NEW_SUPPORT) +#if defined(CONFIG_AM33XX) && defined(CONFIG_SPL_MUSB_NEW) arch_misc_init(); #endif #if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG) |