diff options
Diffstat (limited to 'meta/recipes-bsp/u-boot/files/10m50-update-device-tree.patch')
-rw-r--r-- | meta/recipes-bsp/u-boot/files/10m50-update-device-tree.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/files/10m50-update-device-tree.patch b/meta/recipes-bsp/u-boot/files/10m50-update-device-tree.patch new file mode 100644 index 0000000000..841953cd10 --- /dev/null +++ b/meta/recipes-bsp/u-boot/files/10m50-update-device-tree.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Nios II for MAX10 10m50 board requires update to | ||
2 | its device tree to enable CPU driver during | ||
3 | u-boot pre-relocation. This patch tag the CPU | ||
4 | with dm-pre-reloc flag. | ||
5 | |||
6 | Upstream-Status: Submitted | ||
7 | |||
8 | Signed-off-by: Gan, Yau Wai <yau.wai.gan@intel.com> | ||
9 | |||
10 | --- | ||
11 | arch/nios2/dts/10m50_devboard.dts | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/arch/nios2/dts/10m50_devboard.dts b/arch/nios2/dts/10m50_devboard.dts | ||
15 | index 05eac30..461ae68 100644 | ||
16 | --- a/arch/nios2/dts/10m50_devboard.dts | ||
17 | +++ b/arch/nios2/dts/10m50_devboard.dts | ||
18 | @@ -19,6 +19,7 @@ | ||
19 | #size-cells = <0>; | ||
20 | |||
21 | cpu: cpu@0 { | ||
22 | + u-boot,dm-pre-reloc; | ||
23 | device_type = "cpu"; | ||
24 | compatible = "altr,nios2-1.1"; | ||
25 | reg = <0x00000000>; | ||
26 | -- | ||
27 | 2.7.4 | ||
28 | |||