diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 14 | ||||
-rw-r--r-- | arch/arm/dts/at91sam9g45-corvus.dts | 2 | ||||
-rw-r--r-- | arch/arm/dts/omap5-u-boot.dtsi | 20 | ||||
-rw-r--r-- | arch/arm/mach-omap2/boot-common.c | 17 |
4 files changed, 36 insertions, 17 deletions
diff --git a/arch/arm/dts/am437x-gp-evm-u-boot.dtsi b/arch/arm/dts/am437x-gp-evm-u-boot.dtsi index 885a9a92db..530f54989c 100644 --- a/arch/arm/dts/am437x-gp-evm-u-boot.dtsi +++ b/arch/arm/dts/am437x-gp-evm-u-boot.dtsi @@ -9,30 +9,30 @@ /{ ocp { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; }; &uart0 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &mmc1 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &mac { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &davinci_mdio { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &cpsw_emac0 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &phy_sel { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; diff --git a/arch/arm/dts/at91sam9g45-corvus.dts b/arch/arm/dts/at91sam9g45-corvus.dts index c207c02858..6367996621 100644 --- a/arch/arm/dts/at91sam9g45-corvus.dts +++ b/arch/arm/dts/at91sam9g45-corvus.dts @@ -18,6 +18,7 @@ compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; chosen { + u-boot,dm-pre-reloc; stdout-path = &dbgu; }; @@ -38,6 +39,7 @@ ahb { apb { dbgu: serial@ffffee00 { + u-boot,dm-pre-reloc; status = "okay"; }; diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index 92473143b9..9f9b4d1683 100644 --- a/arch/arm/dts/omap5-u-boot.dtsi +++ b/arch/arm/dts/omap5-u-boot.dtsi @@ -9,7 +9,7 @@ /{ ocp { - u-boot,dm-pre-reloc; + u-boot,dm-spl; ocp2scp@4a090000 { compatible = "ti,omap-ocp2scp", "simple-bus"; @@ -18,37 +18,37 @@ }; &uart1 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &uart3 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &mmc1 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &mmc2 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &l4_cfg { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &scm { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &scm_conf { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; &qspi { - u-boot,dm-pre-reloc; + u-boot,dm-spl; m25p80@0 { - u-boot,dm-pre-reloc; + u-boot,dm-spl; }; }; diff --git a/arch/arm/mach-omap2/boot-common.c b/arch/arm/mach-omap2/boot-common.c index 29c8f23191..b77506df83 100644 --- a/arch/arm/mach-omap2/boot-common.c +++ b/arch/arm/mach-omap2/boot-common.c @@ -65,6 +65,23 @@ void save_omap_boot_params(void) if (boot_device == BOOT_DEVICE_QSPI_4) boot_device = BOOT_DEVICE_SPI; #endif +#ifdef CONFIG_TI816X + /* + * On PG2.0 and later TI816x the values we get when booting are not the + * same as on PG1.0, which is what the defines are based on. Update + * them as needed. + */ + if (get_cpu_rev() != 1) { + if (boot_device == 0x05) { + omap_boot_params->boot_device = BOOT_DEVICE_NAND; + boot_device = BOOT_DEVICE_NAND; + } + if (boot_device == 0x08) { + omap_boot_params->boot_device = BOOT_DEVICE_MMC1; + boot_device = BOOT_DEVICE_MMC1; + } + } +#endif /* * When booting from peripheral booting, the boot device is not usable * as-is (unless there is support for it), so the boot device is instead |