
Hi Dinh,
On 6 February 2015 at 16:36, Dinh Nguyen dinguyen@opensource.altera.com wrote:
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@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?
From what I can tell it does not use driver model yet (it doesn't
define CONFIG_OF_CONTROL either).
Regards, Simon