From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Mon, 09 Feb 2015 08:29:09 +0100 Subject: [U-Boot] [PATCH v2 18/19] dm: socfpga: Move driver model CONFIGs to Kconfig In-Reply-To: References: <1423197710-1568-1-git-send-email-sjg@chromium.org> <1423197710-1568-19-git-send-email-sjg@chromium.org> <54D54FE5.8090300@opensource.altera.com> Message-ID: <54D861C5.1060503@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, (added Marek to Cc) On 07.02.2015 01:11, Simon Glass wrote: > Hi Dinh, > > On 6 February 2015 at 16:36, Dinh Nguyen 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 >>> --- >>> >>> 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). socrates was the first SoCFPGA board to use DT and DM. IIRC, Marek has a patch series queued to move the other SoCFPGA boards over to DT based probing (with DM enabled) as well. Thanks, Stefan