Julien Viard de Galbert has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32130 )
Change subject: arch/x86/cpu: Add functions to determine CPU vendor
......................................................................
Patch Set 1: Code-Review+1
Hello Patrick,
If I understand correctly you are trying to skip the call to `identify_cpu` by looking at the Kconfig options for some AMD and some Intel cpu/soc but not all of them (so you still need the call as a fallback).
I don't really see the point of having the two functions, you could call `identify_cpu`
and test cpu.vendor directly. I my opinion, the code will be easy to read in both cases.
But I might be missing something.
Anyway the code looks correct, so +1.
Best Regards,
Julien VdG
--
To view, visit
https://review.coreboot.org/c/coreboot/+/32130
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I1bd6c3b59cfd992f7ba507bc9f9269669920b24f
Gerrit-Change-Number: 32130
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-Reviewer: Julien Viard de Galbert
coreboot-review-ju@vdg.name
Gerrit-Reviewer: Kane Chen
kane.chen@intel.com
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Lee Leahy
leroy.p.leahy@intel.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Sven Schnelle
svens@stackframe.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Sun, 31 Mar 2019 20:01:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment