diff --git a/mainboard/adl/msm800sev/dts b/mainboard/adl/msm800sev/dts index f0bc30ad8f..3f90371968 100644 --- a/mainboard/adl/msm800sev/dts +++ b/mainboard/adl/msm800sev/dts @@ -23,7 +23,7 @@ /{ mainboard-vendor = "Advanced Digital Logic"; - mainboard-part-number = "MSM800SEV"; + mainboard-name = "MSM800SEV"; cpus { enabled; }; diff --git a/mainboard/amd/norwich/dts b/mainboard/amd/norwich/dts index ea10a931eb..9a555788a2 100644 --- a/mainboard/amd/norwich/dts +++ b/mainboard/amd/norwich/dts @@ -20,7 +20,7 @@ /{ enabled; mainboard-vendor = "AMD"; - mainboard-part-number = "Norwich"; + mainboard-name = "Norwich"; cpus { enabled; }; diff --git a/mainboard/artecgroup/dbe61/dts b/mainboard/artecgroup/dbe61/dts index d14008ad7b..aedbc7726f 100644 --- a/mainboard/artecgroup/dbe61/dts +++ b/mainboard/artecgroup/dbe61/dts @@ -74,7 +74,7 @@ end */ /{ mainboard-vendor = "Artec Group"; - mainboard-part-number = "DBE61"; + mainboard-name = "DBE61"; enabled; cpus { diff --git a/mainboard/emulation/qemu-x86/dts b/mainboard/emulation/qemu-x86/dts index e8246a4629..10a79859ec 100644 --- a/mainboard/emulation/qemu-x86/dts +++ b/mainboard/emulation/qemu-x86/dts @@ -19,7 +19,7 @@ */ /{ mainboard-vendor = "Emulation"; - mainboard-part-number = "QEMU x86"; + mainboard-name = "QEMU x86"; enabled; constructor = "qemuvga_constructors"; cpus { diff --git a/util/dtc/flattree.c b/util/dtc/flattree.c index 395e8f9379..074d9616d0 100644 --- a/util/dtc/flattree.c +++ b/util/dtc/flattree.c @@ -1292,7 +1292,7 @@ void dt_to_linuxbios(FILE *f, struct boot_info *bi, int version, int boot_cpuid_ found_mainboard_vendor = 1; fprintf(f, "const char *mainboard_vendor = \"%s\";\n", prop->val.val); } - if (streq(prop->name, "mainboard-part-number")){ + if (streq(prop->name, "mainboard-name")){ found_mainboard_partnumber = 1; fprintf(f, "const char *mainboard_part_number = \"%s\";\n", prop->val.val); } @@ -1300,11 +1300,11 @@ void dt_to_linuxbios(FILE *f, struct boot_info *bi, int version, int boot_cpuid_ if (! found_mainboard_vendor){ die("There is no mainboard-vendor property in the root. Please add one." - "(and make sure there is a mainboard-part-number property too"); + "(and make sure there is a mainboard-name property too"); } if (! found_mainboard_partnumber){ - die("There is no mainboard-part-number property in the root. " + die("There is no mainboard-name property in the root. " "Please add one." "(and make sure there is a mainboard-vendor property too"); }