summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShunqian Zheng <zhengsq@rock-chips.com>2016-08-25 02:28:19 +0800
committerMartin Roth <martinroth@google.com>2016-08-31 19:59:55 +0200
commit868cd7128262ca8442301c2910ed843ab3f193ff (patch)
treee2dcf36c6045ade7883ca87d2dd26ed897924d0d
parentf706020ed6efa4892de61710fa30b8520522c61d (diff)
downloadcoreboot-868cd7128262ca8442301c2910ed843ab3f193ff.tar.xz
rockchip/rk3399: Move romstage.c to mainboard/gru
The romstage.c is more board related than soc specific, like setting the pwm regulators, so moving it to mainboard/gru. BRANCH=none BUG=chrome-os-partner:54819 TEST=Bootup on kevin board Change-Id: I83c6cde9f451480e47e2b4b549cedf65b345134c Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: 35feeb07131a6a9de4adde035236987391833474 Original-Change-Id: If2bf245302eb4fb20bb089c1b3ffa03909722443 Original-Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com> Original-Reviewed-on: https://chromium-review.googlesource.com/375398 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/16367 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/mainboard/google/gru/Makefile.inc1
-rw-r--r--src/mainboard/google/gru/romstage.c (renamed from src/soc/rockchip/rk3399/romstage.c)0
-rw-r--r--src/soc/rockchip/rk3399/Makefile.inc1
3 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/gru/Makefile.inc b/src/mainboard/google/gru/Makefile.inc
index 07b27a760b..e1ba56a2f1 100644
--- a/src/mainboard/google/gru/Makefile.inc
+++ b/src/mainboard/google/gru/Makefile.inc
@@ -26,6 +26,7 @@ verstage-y += reset.c
romstage-y += boardid.c
romstage-y += chromeos.c
romstage-y += memlayout.ld
+romstage-y += romstage.c
romstage-y += sdram_configs.c
ramstage-y += boardid.c
diff --git a/src/soc/rockchip/rk3399/romstage.c b/src/mainboard/google/gru/romstage.c
index ccf42b9b5f..ccf42b9b5f 100644
--- a/src/soc/rockchip/rk3399/romstage.c
+++ b/src/mainboard/google/gru/romstage.c
diff --git a/src/soc/rockchip/rk3399/Makefile.inc b/src/soc/rockchip/rk3399/Makefile.inc
index 3bfc05e956..6e7527893c 100644
--- a/src/soc/rockchip/rk3399/Makefile.inc
+++ b/src/soc/rockchip/rk3399/Makefile.inc
@@ -49,7 +49,6 @@ romstage-y += clock.c
romstage-y += mmu_operations.c
romstage-y += ../common/pwm.c
romstage-y += timer.c
-romstage-y += romstage.c
romstage-y += tsadc.c
romstage-y += usb.c
romstage-y += gpio.c