summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/2570p
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/hp/2570p')
-rw-r--r--src/mainboard/hp/2570p/Makefile.inc2
-rw-r--r--src/mainboard/hp/2570p/early_init.c (renamed from src/mainboard/hp/2570p/romstage.c)3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/hp/2570p/Makefile.inc b/src/mainboard/hp/2570p/Makefile.inc
index 4fbf73bbd3..1d258758be 100644
--- a/src/mainboard/hp/2570p/Makefile.inc
+++ b/src/mainboard/hp/2570p/Makefile.inc
@@ -17,3 +17,5 @@ bootblock-y += gpio.c
romstage-y += gpio.c
ramstage-$(CONFIG_MAINBOARD_USE_LIBGFXINIT) += gma-mainboard.ads
+bootblock-y += early_init.c
+romstage-y += early_init.c
diff --git a/src/mainboard/hp/2570p/romstage.c b/src/mainboard/hp/2570p/early_init.c
index f1d1e905f3..226367a569 100644
--- a/src/mainboard/hp/2570p/romstage.c
+++ b/src/mainboard/hp/2570p/early_init.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <bootblock_common.h>
#include <device/pci_ops.h>
#include <northbridge/intel/sandybridge/sandybridge.h>
#include <northbridge/intel/sandybridge/raminit_native.h>
@@ -37,7 +38,7 @@ const struct southbridge_usb_port mainboard_usb_ports[] = {
{ 0, 0, 6 },
};
-void mainboard_config_superio(void)
+void bootblock_mainboard_early_init(void)
{
kbc1126_enter_conf();
kbc1126_mailbox_init();