From patchwork Sun Feb 9 11:05:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 236068 List-Id: U-Boot discussion From: linux.amoon at gmail.com (Anand Moon) Date: Sun, 9 Feb 2020 11:05:52 +0000 Subject: [PATCHv6 0/5] Odroid n2 using eMMC would fail to boot up Message-ID: <20200209110557.1996-1-linux.amoon@gmail.com> Here are some small changes to fix booting of Odroid N2 using eMMC. Fixed the clk tunnig during mmc initialization. Added two new patches to fix warning Build and tested on top of below patches [0] https://patchwork.ozlabs.org/patch/1213648/ [1] https://patchwork.ozlabs.org/patch/1213650/ Tested on below eMMC module on Odroid N2 and C2 new orange - eMMC AJNB4R 14.6 GiB MMC 5.1 old back - eMMC CGND3R 58.2 GiB MMC 5.0 Prevoius changes: Fixed the clk tuning as per mainline kernel [3]v1 https://patchwork.ozlabs.org/cover/1201206/ [4]v2 https://patchwork.ozlabs.org/cover/1215217/ [5]v3 https://www.mail-archive.com/u-boot at lists.denx.de/msg351859.html [6]v4 https://patchwork.ozlabs.org/cover/1227205/ [7]v5 https://patchwork.ozlabs.org/cover/1232879/ -Anand Anand Moon (5): mmc: meson-gx: Fix clk phase tuning for MMC mmc: meson-gx: Use proper compatible string as per the dts arm: dts: gx: Move common nodes to the -u-boot.dtsi arm: dts: g12: Move common nodes to the -u-boot.dtsi arm: dts: s400: Move common nodes to the -u-boot.dtsi arch/arm/dts/meson-axg-s400-u-boot.dtsi | 16 +++++ arch/arm/dts/meson-axg-s400.dts | 9 --- arch/arm/dts/meson-g12-common-u-boot.dtsi | 12 ++++ arch/arm/dts/meson-g12a-sei510.dts | 9 --- arch/arm/dts/meson-g12a-u200.dts | 9 --- arch/arm/dts/meson-g12b-odroid-n2.dts | 9 --- arch/arm/dts/meson-gx-u-boot.dtsi | 15 +++++ arch/arm/dts/meson-gxbb-nanopi-k2.dts | 9 --- arch/arm/dts/meson-gxbb-odroidc2.dts | 9 --- arch/arm/dts/meson-gxbb-p20x.dtsi | 9 --- arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 10 ---- arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 5 -- arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 9 --- arch/arm/dts/meson-gxl-s905x-p212.dtsi | 10 ---- arch/arm/dts/meson-gxm-khadas-vim2.dts | 10 ---- arch/arm/dts/meson-khadas-vim3.dtsi | 9 --- arch/arm/dts/meson-sm1-sei610.dts | 9 --- arch/arm/include/asm/arch-meson/sd_emmc.h | 31 +++++++--- drivers/mmc/meson_gx_mmc.c | 58 ++++++++++++++++--- 19 files changed, 114 insertions(+), 143 deletions(-)