diff options
author | Andrey Petrov <andrey.petrov@intel.com> | 2016-06-17 15:30:13 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-06-24 20:30:45 +0200 |
commit | 0f593c22a8a88068ffdf73f87ee9ce98c343a977 (patch) | |
tree | 37baaf714d2dee0fdeaa5bfb5159b76dc09b85d5 /src/soc/intel/apollolake/Makefile.inc | |
parent | 43e1bfd13cd067c992009b51cf130c06921092cd (diff) | |
download | coreboot-0f593c22a8a88068ffdf73f87ee9ce98c343a977.tar.xz |
soc/intel/apollolake: Add utility functions for global reset
Apollolake defines Global Reset where Host, TXE and PMC are reset.
During boot we may need to trigger a global reset as part of platform
initialization (or for error handling). Add functions to trigger
global reset, enable/disable it and lock global reset bit.
BUG=chrome-os-partner:54149
BRANCH=none
TEST=none
Change-Id: I84296cd1560a0740f33ef6b488f15f99d397998d
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://review.coreboot.org/15198
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/apollolake/Makefile.inc')
-rw-r--r-- | src/soc/intel/apollolake/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/Makefile.inc b/src/soc/intel/apollolake/Makefile.inc index 4ad6f0f738..d67a6bd833 100644 --- a/src/soc/intel/apollolake/Makefile.inc +++ b/src/soc/intel/apollolake/Makefile.inc @@ -29,6 +29,7 @@ romstage-y += meminit.c romstage-y += mmap_boot.c romstage-y += tsc_freq.c romstage-y += pmutil.c +romstage-y += reset.c romstage-y += spi.c smm-y += mmap_boot.c @@ -54,6 +55,7 @@ ramstage-y += spi.c ramstage-y += tsc_freq.c ramstage-y += pmutil.c ramstage-y += pmc.c +ramstage-y += reset.c ramstage-y += smi.c ramstage-y += spi.c @@ -70,6 +72,7 @@ verstage-y += mmap_boot.c verstage-$(CONFIG_SOC_UART_DEBUG) += uart_early.c verstage-y += tsc_freq.c verstage-y += pmutil.c +verstage-y += reset.c verstage-y += spi.c CPPFLAGS_common += -I$(src)/soc/intel/apollolake/include |