UniPhier 32-bit SoCs use CONFIG_SPL_OF_CONTROL. So, many nodes must be marked as dm-pre-reloc to prevent fdtgrep from stripping them off. Sprinkling U-Boot-specific properties all over the place is painful because DT files are synced with Linux from time to time. Split u-boot,dm-pre-reloc out to uniphier-v7-u-boot.dtsi, which is appended to UniPhier V7 DTS before the build. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Jagan Teki <jagan@openedev.com>master
parent
d0df9588e8
commit
9ac0e7b37a
@ -0,0 +1,61 @@ |
||||
/ { |
||||
soc { |
||||
u-boot,dm-pre-reloc; |
||||
|
||||
serial@54006800 { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
|
||||
serial@54006900 { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
|
||||
serial@54006a00 { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
|
||||
mioctrl@59810000 { |
||||
u-boot,dm-pre-reloc; |
||||
|
||||
clock { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
}; |
||||
|
||||
sdctrl@59810000 { |
||||
u-boot,dm-pre-reloc; |
||||
|
||||
clock { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
}; |
||||
|
||||
soc-glue@5f800000 { |
||||
u-boot,dm-pre-reloc; |
||||
|
||||
pinctrl { |
||||
u-boot,dm-pre-reloc; |
||||
|
||||
emmc_grp { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
|
||||
uart0_grp { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
|
||||
uart1_grp { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
|
||||
uart2_grp { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
||||
}; |
||||
|
||||
&emmc { |
||||
u-boot,dm-pre-reloc; |
||||
}; |
Loading…
Reference in new issue