diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-05-08 16:56:59 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-05-09 16:09:10 -0700 |
commit | 1655c8727a82d8a344400f1708d315decb57c73c (patch) | |
tree | 8df68e9691978bdc0a320b24b36ef6dcd30302ae /core/cortex-m/ec.lds.S | |
parent | 33422ee34169123a53bf47366e3ce474a6acfb3a (diff) | |
download | chrome-ec-1655c8727a82d8a344400f1708d315decb57c73c.tar.gz |
Add hooks for chipset power transitions
This is cleaner than having x86_power explicitly know about everything
else in the system that cares about power transitions.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=none
TEST=boot and shutdown system; still works. Mouse powered to system is off in S5.
Change-Id: Ib673ca2d9edd5473334e7604e98b99b02b768419
Diffstat (limited to 'core/cortex-m/ec.lds.S')
-rw-r--r-- | core/cortex-m/ec.lds.S | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index ea89e241e9..8bb4997dfc 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -59,6 +59,22 @@ SECTIONS *(.rodata.HOOK_SYSJUMP) __hooks_sysjump_end = .; + __hooks_chipset_startup = .; + *(.rodata.HOOK_CHIPSET_STARTUP) + __hooks_chipset_startup_end = .; + + __hooks_chipset_resume = .; + *(.rodata.HOOK_CHIPSET_RESUME) + __hooks_chipset_resume_end = .; + + __hooks_chipset_suspend = .; + *(.rodata.HOOK_CHIPSET_SUSPEND) + __hooks_chipset_suspend_end = .; + + __hooks_chipset_shutdown = .; + *(.rodata.HOOK_CHIPSET_SHUTDOWN) + __hooks_chipset_shutdown_end = .; + . = ALIGN(4); *(.rodata*) . = ALIGN(4); |