diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-11-13 14:52:04 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-16 01:13:10 +0100 |
commit | fa2fc339c51649b106bf78703cbc17694abcee23 (patch) | |
tree | 2060aa4f53a88cb2dd269a83f3f02e16f45ca00a /src/southbridge/intel/i82801cx | |
parent | 55db955bcdad90c9ebd8b755ae417234d46d731a (diff) |
Drop Kconfig variable BOARD_HAS_HARD_RESET
hard_reset was indeed consolidated and moved into the southbridge
code a while ago, but the config variable was still kept alife, with
some duplicate code.
Change-Id: I60d4a87de916667f6e89353dfbe1a7b9eca380f7
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1837
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/southbridge/intel/i82801cx')
-rw-r--r-- | src/southbridge/intel/i82801cx/i82801cx.h | 1 | ||||
-rw-r--r-- | src/southbridge/intel/i82801cx/reset.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/southbridge/intel/i82801cx/i82801cx.h b/src/southbridge/intel/i82801cx/i82801cx.h index 28428830e2..f196fa324f 100644 --- a/src/southbridge/intel/i82801cx/i82801cx.h +++ b/src/southbridge/intel/i82801cx/i82801cx.h @@ -4,7 +4,6 @@ #if !defined(__PRE_RAM__) #include <device/device.h> void i82801cx_enable(device_t dev); -void i82801cx_hard_reset(void); #endif diff --git a/src/southbridge/intel/i82801cx/reset.c b/src/southbridge/intel/i82801cx/reset.c index bd479de758..6883ff089b 100644 --- a/src/southbridge/intel/i82801cx/reset.c +++ b/src/southbridge/intel/i82801cx/reset.c @@ -1,7 +1,7 @@ #include <arch/io.h> -#include "i82801cx.h" +#include <reset.h> -void i82801cx_hard_reset(void) +void hard_reset(void) { /* Try rebooting through port 0xcf9 */ // Hard reset without power cycle |