[U-Boot] [PATCH] nios2: 10m50: Add CPU pre-relocation in device tree

Gan, Yau Wai yau.wai.gan at intel.com
Fri Jul 28 05:07:17 UTC 2017


Tag CPU with dm-pre-reloc to enable driver before
relocation.

Signed-off-by: Gan, Yau Wai <yau.wai.gan at intel.com>
Cc: Thomas Chou <thomas at wytron.com.tw>
---
 arch/nios2/dts/10m50_devboard.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/nios2/dts/10m50_devboard.dts b/arch/nios2/dts/10m50_devboard.dts
index 05eac30..461ae68 100644
--- a/arch/nios2/dts/10m50_devboard.dts
+++ b/arch/nios2/dts/10m50_devboard.dts
@@ -19,6 +19,7 @@
 		#size-cells = <0>;
 
 		cpu: cpu at 0 {
+			u-boot,dm-pre-reloc;
 			device_type = "cpu";
 			compatible = "altr,nios2-1.1";
 			reg = <0x00000000>;
-- 
2.7.4



More information about the U-Boot mailing list