From 8c19a4ffb4af46284ed064bf3064b47dc00ed82f Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Thu, 24 Jul 2003 21:19:19 +0000 Subject: cpu should be vendor/device too... git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1033 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/newconfig/config.g | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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<>: SUPERIO PATH {{ if (C): part('superio', PATH, 'Config.lb') }} partend<> - rule cpu<>: 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<>: CPU cpuid {{ if (C): part('cpu', cpuid, 'Config.lb') }} partend<> rule pmc<>: PMC PATH {{ if (C): part('pmc', PATH, 'Config.lb') }} -- cgit v1.2.3