diff options
author | Adam Ford <aford173@gmail.com> | 2018-04-15 13:51:26 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-27 14:54:11 -0400 |
commit | f1b1f77060beadbfe9f42a3be00019bd025afbd6 (patch) | |
tree | c3c189037cd6ccdb3e3ece5c60e08d86215627f5 /common | |
parent | ec37f05ec0a999e0bd79f87354716df6f9bc074d (diff) | |
download | u-boot-f1b1f77060beadbfe9f42a3be00019bd025afbd6.zip u-boot-f1b1f77060beadbfe9f42a3be00019bd025afbd6.tar.gz u-boot-f1b1f77060beadbfe9f42a3be00019bd025afbd6.tar.bz2 |
Convert CONFIG_SPI to Kconfig
This converts the following to Kconfig:
CONFIG_SPI
This partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the MPC8xx SPI driver. For now, just update
the CONFIG tests. This also involves reworking the default for
CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
reasonable default, as it does not cause any compile failures.
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/board_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_r.c b/common/board_r.c index 0f4479a..7a3d4ca 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -386,8 +386,8 @@ static int initr_flash(void) #if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI) static int initr_spi(void) { - /* PPC does this here */ -#ifdef CONFIG_SPI + /* MPC8xx does this here */ +#ifdef CONFIG_MPC8XX_SPI #if !defined(CONFIG_ENV_IS_IN_EEPROM) spi_init_f(); #endif |