Move memory node to the root, so fdt_get_mem_regions() can find it.
This commit is contained in:
parent
28dcb50c72
commit
628920c43b
@ -82,6 +82,11 @@
|
||||
*/
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x0FFFFFFF>; // ~256M at 0x0
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
@ -94,11 +99,6 @@
|
||||
compatible = "simple-bus", "mips,mips4k";
|
||||
ranges = <>;
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x0FFFFFFF>; // ~256M at 0x0
|
||||
};
|
||||
|
||||
beripic: beripic@7f804000 {
|
||||
compatible = "sri-cambridge,beri-pic";
|
||||
interrupt-controller;
|
||||
|
@ -80,6 +80,11 @@
|
||||
*/
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
@ -92,11 +97,6 @@
|
||||
compatible = "simple-bus", "mips,mips4k";
|
||||
ranges = <>;
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x4000000>; // 64M at 0x0
|
||||
};
|
||||
|
||||
beripic0: beripic@7f804000 {
|
||||
compatible = "sri-cambridge,beri-pic";
|
||||
interrupt-controller;
|
||||
|
@ -80,6 +80,11 @@
|
||||
*/
|
||||
};
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x40000000>; // 1G at 0x0
|
||||
};
|
||||
|
||||
soc {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
@ -92,11 +97,6 @@
|
||||
compatible = "simple-bus", "mips,mips4k";
|
||||
ranges = <>;
|
||||
|
||||
memory {
|
||||
device_type = "memory";
|
||||
reg = <0x0 0x40000000>; // 1G at 0x0
|
||||
};
|
||||
|
||||
beripic0: beripic@7f804000 {
|
||||
compatible = "sri-cambridge,beri-pic";
|
||||
interrupt-controller;
|
||||
|
Loading…
Reference in New Issue
Block a user