cbtables: Add RAM config information
This adds the RAM config code to the coreboot tables. The purpose is to expose this information to software running at higher levels, e.g. to print the RAM config coreboot is using as part of factory tests. The prototype for ram_code() is in boardid.h since they are closely related and will likely have common code. BUG=chrome-os-partner:31728 BRANCH=none TEST=tested w/ follow-up CLs on pinky Original-Signed-off-by: David Hendricks <dhendrix@chromium.org> Original-Change-Id: Idd38ec5b6af16e87dfff2e3750c18fdaea604400 Original-Reviewed-on: https://chromium-review.googlesource.com/227248 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> (cherry picked from commit 77dd5fb9347b53bb8a64ad22341257fb3be0c106) Signed-off-by: Aaron Durbin <adurbin@chromium.org> Change-Id: Ibe7044cafe0a61214ac2d7fea5f7255b2c11829b Reviewed-on: http://review.coreboot.org/9438 Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins)
This commit is contained in:
committed by
Aaron Durbin
parent
ceaabc94ef
commit
627b3bd2b0
@@ -253,6 +253,13 @@ config UPDATE_IMAGE
|
||||
is a suitable file for further processing.
|
||||
The bootblock will not be modified.
|
||||
|
||||
config RAM_CODE_SUPPORT
|
||||
bool "Discover RAM configuration code and store it in coreboot table"
|
||||
default n
|
||||
help
|
||||
If enabled, coreboot discovers RAM configuration (value obtained by
|
||||
reading board straps) and stores it in coreboot table.
|
||||
|
||||
endmenu
|
||||
|
||||
source "src/mainboard/Kconfig"
|
||||
|
Reference in New Issue
Block a user