diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-05-04 09:00:13 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-05-06 16:48:21 +0200 |
commit | 6366d92803fdd43882592263f70ad83114359c64 (patch) | |
tree | 16291a9f2ac169e5f112c0ab73bd5bd02b02cfa4 /src/cpu | |
parent | 770d7c73953d468a71ab97cb67d5a6c4a6e25263 (diff) | |
download | coreboot-6366d92803fdd43882592263f70ad83114359c64.tar.xz |
{cpu,soc}/intel: remove unused smm_init() function
There used to be a need for an empty smm_init() function
because initialize_cpus() called it even though nothing
called initialize_cpus(). However, garbage collection at
link time is implemented so there's no reason to provide an
empty function to satisfy a symbol that is completely culled
during link. Remove it.
Change-Id: Ic13c85f1d3d57e38e7132e4289a98a95829f765a
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/14605
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/intel/haswell/smmrelocate.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/cpu/intel/haswell/smmrelocate.c b/src/cpu/intel/haswell/smmrelocate.c index 5c50ad1c93..34a35516a7 100644 --- a/src/cpu/intel/haswell/smmrelocate.c +++ b/src/cpu/intel/haswell/smmrelocate.c @@ -352,15 +352,6 @@ void smm_relocate(void) smm_initiate_relocation(); } -void smm_init(void) -{ - /* smm_init() is normally called from initialize_cpus() in - * lapic_cpu_init.c. However, that path is no longer used. Don't reuse - * the function name because that would cause confusion. - * The smm_initialize() function above is used to setup SMM at the - * appropriate time. */ -} - void smm_lock(void) { /* LOCK the SMM memory window and enable normal SMM. |