Rename 'mainboard-part-number' to 'mainboard-name'.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@416 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Uwe Hermann 2007-06-29 15:23:52 +00:00
commit 315c053116
5 changed files with 7 additions and 7 deletions

View file

@ -23,7 +23,7 @@
/{
mainboard-vendor = "Advanced Digital Logic";
mainboard-part-number = "MSM800SEV";
mainboard-name = "MSM800SEV";
cpus {
enabled;
};

View file

@ -20,7 +20,7 @@
/{
enabled;
mainboard-vendor = "AMD";
mainboard-part-number = "Norwich";
mainboard-name = "Norwich";
cpus {
enabled;
};

View file

@ -74,7 +74,7 @@ end
*/
/{
mainboard-vendor = "Artec Group";
mainboard-part-number = "DBE61";
mainboard-name = "DBE61";
enabled;
cpus {

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "Emulation";
mainboard-part-number = "QEMU x86";
mainboard-name = "QEMU x86";
enabled;
constructor = "qemuvga_constructors";
cpus {

View file

@ -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");
}