rockchip: spi: rk3399: move CONFIG_SPI and CONFIG_SPI_FLASH to defconfig
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Wed, 29 Mar 2017 11:31:30 +0000 (13:31 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
commit094f67a6c5e0650138058880d6aca57bd3211f10
tree524f9f3e9e931ffd64119d9b216924dd65878ca8
parentdb4cc9a034002207e2fba0c217074cd2ebd610fc
rockchip: spi: rk3399: move CONFIG_SPI and CONFIG_SPI_FLASH to defconfig

On the RK3399-Q7 we need to enable a number of configuration options
(e.g. CONFIG_SPI_FLASH_WINBND) dependent on Kconfig seeing CONFIG_SPI
and CONFIG_SPI_FLASH active.

To allow for these being defined in Kconfig (e.g. via defconfig) and
to avoid a warning on having the macro defined multiple times, we
remove them from the common header file.

Note that the rk3399-evb does not currently have the rk_spi.c driver
active (i.e. CONFIG_ROCKCHIP_SPI), so there's no change to the
evb-rk3399_defconfig as part of this change.

X-AffectedPlatforms: RK3399-Q7
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/rk3399_common.h