Merge tag 'u-boot-imx-20200408' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
authorTom Rini <trini@konsulko.com>
Wed, 8 Apr 2020 16:06:39 +0000 (12:06 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Apr 2020 16:06:39 +0000 (12:06 -0400)
Fixes for 2020.04
-----------------

- mx7dsabre: Fix ramdisk_addr* for distro boot
- Toradex boards

Travis: https://travis-ci.org/github/sbabic/u-boot-imx/builds/671988124

arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi
arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi
board/toradex/colibri_imx6/colibri_imx6.c
include/configs/mx7dsabresd.h

index 7b1a955..956d724 100644 (file)
  */
 
 &mu {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &clk {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &iomuxc {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio4 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio5 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio6 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio7 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
+};
+
+&pd_dma {
+       u-boot,dm-pre-proper;
+};
+
+&pd_dma_lpuart1 {
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn_sdch0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn_sdch1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn_sdch2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio4 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio5 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio6 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio7 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &lpuart0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &lpuart1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &lpuart2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &lpuart3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &usdhc1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &usdhc2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &usdhc3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
index 5b061f9..322429a 100644 (file)
 
 &{/imx8qx-pm} {
 
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &mu {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &clk {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &iomuxc {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio4 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio5 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio6 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_lsio_gpio7 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
+};
+
+&pd_dma {
+       u-boot,dm-pre-proper;
+};
+
+&pd_dma_lpuart0 {
+       u-boot,dm-pre-proper;
+};
+
+&pd_dma_lpuart3 {
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn_sdch0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn_sdch1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &pd_conn_sdch2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio0 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio4 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio5 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio6 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &gpio7 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &lpuart3 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &usdhc1 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
 
 &usdhc2 {
-       u-boot,dm-spl;
+       u-boot,dm-pre-proper;
 };
index f04b749..d11401e 100644 (file)
@@ -354,12 +354,15 @@ int board_phy_config(struct phy_device *phydev)
 int setup_fec(void)
 {
        int ret;
+       struct iomuxc *iomuxc_regs = (struct iomuxc *)IOMUXC_BASE_ADDR;
 
        /* provide the PHY clock from the i.MX 6 */
        ret = enable_fec_anatop_clock(0, ENET_50MHZ);
        if (ret)
                return ret;
 
+       setbits_le32(&iomuxc_regs->gpr[1], IOMUXC_GPR1_ENET_CLK_SEL_MASK);
+
        return 0;
 }
 
index b1726b1..e7d35ed 100644 (file)
@@ -81,8 +81,8 @@
        "fdt_addr_r=0x83000000\0" \
        "kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
        "pxefile_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
-       "ramdisk_addr_r=0x83000000\0" \
-       "ramdiskaddr=0x83000000\0" \
+       "ramdisk_addr_r=0x83100000\0" \
+       "ramdiskaddr=0x83100000\0" \
        "scriptaddr=" __stringify(CONFIG_LOADADDR) "\0" \
        "videomode=video=ctfb:x:480,y:272,depth:24,pclk:108695,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0\0" \
        BOOTENV