[U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig

Dinh Nguyen dinguyen at opensource.altera.com
Sat Feb 7 00:36:05 CET 2015


Hi Simon,

On 02/05/2015 10:41 PM, Simon Glass wrote:
> Remove driver model CONFIGs from the board config headers and use Kconfig
> instead.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2: None
> 
>  configs/socfpga_socrates_defconfig | 3 +++
>  include/configs/socfpga_common.h   | 7 -------
>  2 files changed, 3 insertions(+), 7 deletions(-)
> 
> diff --git a/configs/socfpga_socrates_defconfig b/configs/socfpga_socrates_defconfig
> index 0f3896d..888bbb6 100644
> --- a/configs/socfpga_socrates_defconfig
> +++ b/configs/socfpga_socrates_defconfig
> @@ -3,3 +3,6 @@ CONFIG_SPL=y
>  +S:CONFIG_TARGET_SOCFPGA_CYCLONE5=y
>  CONFIG_OF_CONTROL=y
>  CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socrates"
> +CONFIG_DM=y
> +CONFIG_DM_SPI=y
> +CONFIG_DM_SPI_FLASH=y

Would you need to also update socfpga_cyclone5_defconfig or is that not
needed?

Thanks,
Dinh



More information about the U-Boot mailing list