coreboot-kgpe-d16/src
Lee Leahy 9f5a5c5323 Add table driven way to add platform specific reg_script routines
Extend lib/reg_script.c to use a platform table to declare
additional platform specific register access routine functions.
REG_SCRIPT_TYPE_PLATFORM_BASE is the starting value for platform
specific register types.  Additional register access types may be
defined above this value.  The type and access routines are placed
into reg_script_type_table.

The Baytrail type value for IOSF was left the enumeration since it
was already defined and is being used for Braswell.

BRANCH=none
BUG=None
TEST=Use the following steps to test:
1.  Build for a Baytrail platform
2.  Build for the Samus platform
3.  Add a platform_bus_table routine to a platform which returns the
    address of an array of reg_script_bus_entry structures and the
    number of entries in the array.

Change-Id: Ic99d345c4b067c52b4e9c47e59ed4472a05bc1a5
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 2d9fecf4287dff6311a81d818603212248f1a248
Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/215645
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Change-Id: I7cd37abc5a08cadb3166d4048f65b919b86ab5db
Original-Reviewed-on: https://chromium-review.googlesource.com/229612
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/9279
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-04 12:40:29 +02:00
..
arch arm64: make secmon link with the manual template 2015-04-04 09:05:27 +02:00
console Avoid 64bit math on MIPS platforms 2015-03-30 21:42:38 +02:00
cpu build system: Introduce manual file type 2015-04-04 00:44:52 +02:00
device cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
drivers cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
ec chromeec: Add wakeup delay after SPI /CS assertion 2015-04-02 17:28:14 +02:00
include Add table driven way to add platform specific reg_script routines 2015-04-04 12:40:29 +02:00
lib Add table driven way to add platform specific reg_script routines 2015-04-04 12:40:29 +02:00
mainboard samus: Add new memory type 2015-04-04 12:40:27 +02:00
northbridge northbridge/amd/amdfam10: Generate SMBIOS tables for RAM 2015-04-02 05:55:41 +02:00
soc broadwell: fix typo in pei_data 2015-04-04 12:40:25 +02:00
southbridge southbridge/amd/pi: Add initialization of 8254 and 8259 2015-04-02 19:19:20 +02:00
superio superio: ite8772f: Exit extemp busy state 2015-03-21 08:44:28 +01:00
vendorcode vboot: add vbnv flash driver 2015-04-02 13:24:29 +02:00
Kconfig Clean up architecture-specific Kconfigs 2015-04-02 22:06:31 +02:00