diff options
Diffstat (limited to 'src/mainboard/lenovo/x60')
-rw-r--r-- | src/mainboard/lenovo/x60/Makefile.inc | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/early_init.c (renamed from src/mainboard/lenovo/x60/romstage.c) | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x60/Makefile.inc b/src/mainboard/lenovo/x60/Makefile.inc index a7ad539a1f..7fb2f0268e 100644 --- a/src/mainboard/lenovo/x60/Makefile.inc +++ b/src/mainboard/lenovo/x60/Makefile.inc @@ -14,6 +14,10 @@ ## smm-y += dock.c +bootblock-y += dock.c romstage-y += dock.c ramstage-y += dock.c +bootblock-y += gpio.c romstage-y += gpio.c +bootblock-y += early_init.c +romstage-y += early_init.c diff --git a/src/mainboard/lenovo/x60/romstage.c b/src/mainboard/lenovo/x60/early_init.c index d230aa3c57..459c2461ca 100644 --- a/src/mainboard/lenovo/x60/romstage.c +++ b/src/mainboard/lenovo/x60/early_init.c @@ -15,6 +15,7 @@ * GNU General Public License for more details. */ +#include <bootblock_common.h> #include <delay.h> #include <stdint.h> #include <device/pnp_def.h> @@ -48,7 +49,7 @@ static void early_superio_config(void) pnp_set_enable(dev, 1); } -void mainboard_superio_config(void) +void bootblock_mainboard_early_init(void) { /* Set up GPIO's early since it is needed for dock init */ i82801gx_setup_bars(); |