From 315c05311681e20002cb72e9cb7a6f6bd882630e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 29 Jun 2007 15:23:52 +0000 Subject: [PATCH] Rename 'mainboard-part-number' to 'mainboard-name'. Signed-off-by: Uwe Hermann Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@416 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- mainboard/adl/msm800sev/dts | 2 +- mainboard/amd/norwich/dts | 2 +- mainboard/artecgroup/dbe61/dts | 2 +- mainboard/emulation/qemu-x86/dts | 2 +- util/dtc/flattree.c | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) 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"); }