nios2: 10m50: Add CPU pre-relocation in device tree
authorGan, Yau Wai <yau.wai.gan@intel.com>
Fri, 28 Jul 2017 05:07:17 +0000 (22:07 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 17 Nov 2017 15:51:24 +0000 (10:51 -0500)
Tag CPU with dm-pre-reloc to enable driver before
relocation.

Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/nios2/dts/10m50_devboard.dts

index 05eac30d67574c0e66dae3e19f5bf1037740fed6..461ae68ce70837d6a25282f424736ebe75500b63 100644 (file)
@@ -19,6 +19,7 @@
                #size-cells = <0>;
 
                cpu: cpu@0 {
+                       u-boot,dm-pre-reloc;
                        device_type = "cpu";
                        compatible = "altr,nios2-1.1";
                        reg = <0x00000000>;