cpu should be vendor/device too...

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1033 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2003-07-24 21:19:19 +00:00
parent 8091adb7dd
commit 8c19a4ffb4
1 changed files with 7 additions and 1 deletions

View File

@ -1189,7 +1189,13 @@ parser Config:
rule superio<<C>>: SUPERIO PATH {{ if (C): part('superio', PATH, 'Config.lb') }} rule superio<<C>>: SUPERIO PATH {{ if (C): part('superio', PATH, 'Config.lb') }}
partend<<C>> partend<<C>>
rule cpu<<C>>: CPU ID {{ if (C): part('cpu', ID, 'Config.lb') }} # This is needed because the legacy cpu command could not distinguish
# between cpu vendors. It should just be PATH, but getting this change
# into the source tree will be tricky...
rule cpuid: ID {{ return ID }}
| PATH {{ return PATH }}
rule cpu<<C>>: CPU cpuid {{ if (C): part('cpu', cpuid, 'Config.lb') }}
partend<<C>> partend<<C>>
rule pmc<<C>>: PMC PATH {{ if (C): part('pmc', PATH, 'Config.lb') }} rule pmc<<C>>: PMC PATH {{ if (C): part('pmc', PATH, 'Config.lb') }}