From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Tue, 9 Jul 2019 00:39:50 +0200 Message-Id: <20190708223950.10000-2-rhi@pengutronix.de> In-Reply-To: <20190708223950.10000-1-rhi@pengutronix.de> References: <20190708223950.10000-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 2/2] v7a: barebox-rpi2: enable BCM283X_SDHOST List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Roland Hieber Since barebox v2019.06.0 [1], there is now an driver for the sdhost on the RPi 3, and the sdhost/sdhci pin-swapping workaround in the RPi 3 device tree was undone again [2]. Therefore we now need to build the sdhost driver so the RPi 3 barebox can read SD cards again. [1]: barebox commit d6d3d0aecece84afe9eb ("mci: add driver for BCM283x sdhost core") [2]: barebox commit 9036d1db4d4a9a61bcda ("ARM: rpi3: remove swapped sdhci and sdhost") Signed-off-by: Roland Hieber --- configs/platform-v7a/barebox-rpi2.config | 2 +- configs/platform-v7a/barebox-rpi2.config.diff | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config index dbdd16a91385..a5f34322183d 100644 --- a/configs/platform-v7a/barebox-rpi2.config +++ b/configs/platform-v7a/barebox-rpi2.config @@ -535,7 +535,7 @@ CONFIG_MCI_MMC_BOOT_PARTITIONS=y # # CONFIG_MCI_DW is not set CONFIG_MCI_BCM283X=y -# CONFIG_MCI_BCM283X_SDHOST is not set +CONFIG_MCI_BCM283X_SDHOST=y CONFIG_MCI_MMCI=y # CONFIG_MCI_SPI is not set CONFIG_HAVE_CLK=y diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff index 34453422fab5..e754b69825aa 100644 --- a/configs/platform-v7a/barebox-rpi2.config.diff +++ b/configs/platform-v7a/barebox-rpi2.config.diff @@ -4,6 +4,7 @@ CONFIG_DRIVER_SERIAL_NS16550=y CONFIG_MACH_RPI2=y CONFIG_MALLOC_SIZE=0x400000 CONFIG_MCI_BCM283X=y +CONFIG_MCI_BCM283X_SDHOST=y CONFIG_MCI_MMC_BOOT_PARTITIONS=y CONFIG_NVMEM=y # CONFIG_NVMEM_SNVS_LPGPR is not set -- 2.20.1 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de