summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/am437x-gp-evm-u-boot.dtsi14
-rw-r--r--arch/arm/dts/at91sam9g45-corvus.dts2
-rw-r--r--arch/arm/dts/omap5-u-boot.dtsi20
-rw-r--r--arch/arm/mach-omap2/boot-common.c17
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 885a9a9..530f549 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 c207c02..6367996 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 9247314..9f9b4d1 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 29c8f23..b77506d 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