summaryrefslogtreecommitdiff
path: root/src/lib/program.ld
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2016-04-29 17:26:36 -0700
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-04-30 20:44:58 +0200
commitefcee9fadd496945c55828c79dff8e0b19ae0053 (patch)
treea81656fa16c258bf001acc9b1c70966f53704492 /src/lib/program.ld
parent6bcbe5749b9f1a82004299bb63fba7e99b8ed358 (diff)
downloadcoreboot-efcee9fadd496945c55828c79dff8e0b19ae0053.tar.xz
lib/reg_script: Allow multiple independent handlers
Remove the platform_bus_table routine and replace it with a link time table. This allows the handlers to be spread across multiple modules without any one module knowing about all of the handlers. Establish number ranges for both the SOC and mainboard. TEST=Build and run on Galileo Gen2 Change-Id: I0823d443d3352f31ba7fa20845bbf550b585c86f Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/14554 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/lib/program.ld')
-rw-r--r--src/lib/program.ld5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/program.ld b/src/lib/program.ld
index 6ffa82aa30..993037f8a9 100644
--- a/src/lib/program.ld
+++ b/src/lib/program.ld
@@ -43,6 +43,11 @@
_cbmem_init_hooks = .;
KEEP(*(.rodata.cbmem_init_hooks));
_ecbmem_init_hooks = .;
+
+ . = ALIGN(ARCH_POINTER_ALIGN_SIZE);
+ _rsbe_init_begin = .;
+ KEEP(*(.rsbe_init));
+ _ersbe_init_begin = .;
#endif
#if ENV_RAMSTAGE