dts: Cleanup warnings associated with cpu node
When we fixed the missing reg property in the cpu node, we forgot to add #address-cells & #size-cells for the node. This fix the following warnings we get: Warning (reg_format): "reg" property in /cpus/cpu@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
8acf21d557
commit
def322fe6d
@ -15,6 +15,9 @@
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "arm,cortex-m3";
|
||||
reg = <0>;
|
||||
|
||||
@ -15,6 +15,9 @@
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "arm,cortex-m3";
|
||||
reg = <0>;
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "arm,cortex-m4f";
|
||||
reg = <0>;
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "arm,cortex-m4f";
|
||||
reg = <0>;
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
compatible = "arm,cortex-m4f";
|
||||
reg = <0>;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user