Makes mainboard-vendor naming more consistent.

mainboard-name naming has been postponed because it's not clear what the
real name should be.

Generated code is identical to the state before the patch.
Compile tested.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@694 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Carl-Daniel Hailfinger 2008-07-11 12:33:46 +00:00
parent d9e875537b
commit a4b90bacf4
9 changed files with 11 additions and 11 deletions

View file

@ -21,7 +21,7 @@
*/
/{
mainboard-vendor = "Advanced Digital Logic";
mainboard_vendor = "Advanced Digital Logic";
mainboard-name = "MSM800SEV";
mainboard_pci_subsystem_vendor = "0x1022";
mainboard_pci_subsystem_device = "0x2323";

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "AMD";
mainboard_vendor = "AMD";
mainboard-name = "DB800";
mainboard_pci_subsystem_vendor = "0x1022";
mainboard_pci_subsystem_device = "0x2323";

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "AMD";
mainboard_vendor = "AMD";
mainboard-name = "NORWICH";
mainboard_pci_subsystem_vendor = "0x1022";
mainboard_pci_subsystem_device = "0x2323";

View file

@ -73,7 +73,7 @@ end
*/
/{
mainboard-vendor = "Artec Group";
mainboard_vendor = "Artec Group";
mainboard-name = "DBE61";
mainboard_pci_subsystem_vendor = "0x1022";
mainboard_pci_subsystem_device = "0x2323";

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "Artec";
mainboard_vendor = "Artec";
mainboard-name = "DBE62";
cpus { };
apic@0 {

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "Emulation";
mainboard_vendor = "Emulation";
mainboard-name = "QEMU x86";
mainboard_pci_subsystem_vendor = "0x15ad";
mainboard_pci_subsystem_device = "0x1976";

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "PC Engines";
mainboard_vendor = "PC Engines";
mainboard-name = "ALIX1.C";
cpus { };
apic@0 {

View file

@ -19,7 +19,7 @@
*/
/{
mainboard-vendor = "PC Engines";
mainboard_vendor = "PC Engines";
mainboard-name = "ALIX.2C3";
cpus { };
apic@0 {

View file

@ -1353,7 +1353,7 @@ void dt_to_coreboot(FILE *f, struct boot_info *bi, int version, int boot_cpuid_p
/* special for the root. Emit the names for the mainboard vendor and part # */
for_each_property(bi->dt, prop) {
if (streq(prop->name, "mainboard-vendor")){
if (streq(prop->name, "mainboard_vendor")){
found_mainboard_vendor = 1;
fprintf(f, "const char *mainboard_vendor = \"%s\";\n", prop->val.val);
}
@ -1372,14 +1372,14 @@ void dt_to_coreboot(FILE *f, struct boot_info *bi, int version, int boot_cpuid_p
}
if (! found_mainboard_vendor){
die("There is no mainboard-vendor property in the root. Please add one."
die("There is no mainboard_vendor property in the root. Please add one."
"(and make sure there is a mainboard-name property too");
}
if (! found_mainboard_partnumber){
die("There is no mainboard-name property in the root. "
"Please add one."
"(and make sure there is a mainboard-vendor property too");
"(and make sure there is a mainboard_vendor property too");
}
switch (found_mainboard_subsys) {