Author: uwe Date: 2007-06-29 17:23:52 +0200 (Fri, 29 Jun 2007) New Revision: 416
Modified: LinuxBIOSv3/mainboard/adl/msm800sev/dts LinuxBIOSv3/mainboard/amd/norwich/dts LinuxBIOSv3/mainboard/artecgroup/dbe61/dts LinuxBIOSv3/mainboard/emulation/qemu-x86/dts LinuxBIOSv3/util/dtc/flattree.c Log: Rename 'mainboard-part-number' to 'mainboard-name'.
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Ronald G. Minnich rminnich@gmail.com
Modified: LinuxBIOSv3/mainboard/adl/msm800sev/dts =================================================================== --- LinuxBIOSv3/mainboard/adl/msm800sev/dts 2007-06-29 15:22:56 UTC (rev 415) +++ LinuxBIOSv3/mainboard/adl/msm800sev/dts 2007-06-29 15:23:52 UTC (rev 416) @@ -23,7 +23,7 @@ /{
mainboard-vendor = "Advanced Digital Logic"; - mainboard-part-number = "MSM800SEV"; + mainboard-name = "MSM800SEV"; cpus { enabled; };
Modified: LinuxBIOSv3/mainboard/amd/norwich/dts =================================================================== --- LinuxBIOSv3/mainboard/amd/norwich/dts 2007-06-29 15:22:56 UTC (rev 415) +++ LinuxBIOSv3/mainboard/amd/norwich/dts 2007-06-29 15:23:52 UTC (rev 416) @@ -20,7 +20,7 @@ /{ enabled; mainboard-vendor = "AMD"; - mainboard-part-number = "Norwich"; + mainboard-name = "Norwich"; cpus { enabled; };
Modified: LinuxBIOSv3/mainboard/artecgroup/dbe61/dts =================================================================== --- LinuxBIOSv3/mainboard/artecgroup/dbe61/dts 2007-06-29 15:22:56 UTC (rev 415) +++ LinuxBIOSv3/mainboard/artecgroup/dbe61/dts 2007-06-29 15:23:52 UTC (rev 416) @@ -74,7 +74,7 @@ */ /{ mainboard-vendor = "Artec Group"; - mainboard-part-number = "DBE61"; + mainboard-name = "DBE61"; enabled;
cpus {
Modified: LinuxBIOSv3/mainboard/emulation/qemu-x86/dts =================================================================== --- LinuxBIOSv3/mainboard/emulation/qemu-x86/dts 2007-06-29 15:22:56 UTC (rev 415) +++ LinuxBIOSv3/mainboard/emulation/qemu-x86/dts 2007-06-29 15:23:52 UTC (rev 416) @@ -19,7 +19,7 @@ */ /{ mainboard-vendor = "Emulation"; - mainboard-part-number = "QEMU x86"; + mainboard-name = "QEMU x86"; enabled; constructor = "qemuvga_constructors"; cpus {
Modified: LinuxBIOSv3/util/dtc/flattree.c =================================================================== --- LinuxBIOSv3/util/dtc/flattree.c 2007-06-29 15:22:56 UTC (rev 415) +++ LinuxBIOSv3/util/dtc/flattree.c 2007-06-29 15:23:52 UTC (rev 416) @@ -1292,7 +1292,7 @@ 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 @@
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"); }