mainboard/intel/quark: Enable reg_access during romstage

Turn on reg_access during romstage.

TEST=Build and run on Galileo Gen2

Change-Id: Iff1616836d6031f43d7741693febefa0bf26b948
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15008
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Lee Leahy 2016-05-30 11:23:49 -07:00 committed by Leroy P Leahy
parent a5258cba6f
commit fd91dee420
2 changed files with 1 additions and 3 deletions

View File

@ -18,6 +18,7 @@ CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/quark
endif endif
romstage-y += gpio.c romstage-y += gpio.c
romstage-y += reg_access.c
ramstage-y += gpio.c ramstage-y += gpio.c
ramstage-y += reg_access.c ramstage-y += reg_access.c

View File

@ -22,7 +22,6 @@
#include <soc/reg_access.h> #include <soc/reg_access.h>
#include "reg_access.h" #include "reg_access.h"
#if ENV_RAMSTAGE
static uint64_t reg_read(struct reg_script_context *ctx) static uint64_t reg_read(struct reg_script_context *ctx)
{ {
int ret_code; int ret_code;
@ -89,5 +88,3 @@ const struct reg_script_bus_entry mainboard_reg_script_bus_table = {
}; };
REG_SCRIPT_BUS_ENTRY(mainboard_reg_script_bus_table); REG_SCRIPT_BUS_ENTRY(mainboard_reg_script_bus_table);
#endif /* ENV_RAMSTAGE */