diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-24 21:19:19 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-07-24 21:19:19 +0000 |
commit | 8c19a4ffb4af46284ed064bf3064b47dc00ed82f (patch) | |
tree | 182582e094c318859ef8e8b6df43818601fa8ea8 /util/newconfig/config.g | |
parent | 8091adb7dd1fa978ea836c3edd8295285bf8e5f6 (diff) | |
download | coreboot-8c19a4ffb4af46284ed064bf3064b47dc00ed82f.tar.xz |
cpu should be vendor/device too...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1033 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig/config.g')
-rw-r--r-- | util/newconfig/config.g | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g index a28506024b..0fd87111df 100644 --- a/util/newconfig/config.g +++ b/util/newconfig/config.g @@ -1189,7 +1189,13 @@ parser Config: rule superio<<C>>: SUPERIO PATH {{ if (C): part('superio', PATH, 'Config.lb') }} 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>> rule pmc<<C>>: PMC PATH {{ if (C): part('pmc', PATH, 'Config.lb') }} |