[coreboot-gerrit] New patch to review for coreboot: mainboard/intel/quark: Enable reg_access during romstage
Leroy P Leahy (leroy.p.leahy@intel.com)
gerrit at coreboot.org
Tue May 31 02:27:34 CEST 2016
Leroy P Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15008
-gerrit
commit 9b9b660be4ebbad12ccdbb6b7cea013ef962b3de
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date: Mon May 30 11:23:49 2016 -0700
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 at intel.com>
---
src/mainboard/intel/galileo/Makefile.inc | 1 +
src/mainboard/intel/galileo/reg_access.c | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mainboard/intel/galileo/Makefile.inc b/src/mainboard/intel/galileo/Makefile.inc
index 72c74e1..83fb0db 100644
--- a/src/mainboard/intel/galileo/Makefile.inc
+++ b/src/mainboard/intel/galileo/Makefile.inc
@@ -18,6 +18,7 @@ CPPFLAGS_common += -I$(src)/vendorcode/intel/fsp/fsp1_1/quark
endif
romstage-y += gpio.c
+romstage-y += reg_access.c
ramstage-y += gpio.c
ramstage-y += reg_access.c
diff --git a/src/mainboard/intel/galileo/reg_access.c b/src/mainboard/intel/galileo/reg_access.c
index f19f526..36345ff 100644
--- a/src/mainboard/intel/galileo/reg_access.c
+++ b/src/mainboard/intel/galileo/reg_access.c
@@ -22,7 +22,6 @@
#include <soc/reg_access.h>
#include "reg_access.h"
-#if ENV_RAMSTAGE
static uint64_t reg_read(struct reg_script_context *ctx)
{
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);
-
-#endif /* ENV_RAMSTAGE */
More information about the coreboot-gerrit
mailing list