summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2013-02-07 21:25:15 +0800
committerRonald G. Minnich <rminnich@gmail.com>2013-02-07 18:15:26 +0100
commit77608b21d3d745a10bba08fe316995a05f2371e2 (patch)
treecbf1443c550cb3f31184329f899a4490d0f3a252
parent60485a3e915ad44783d564e07d5ed6e7b74b277b (diff)
downloadcoreboot-77608b21d3d745a10bba08fe316995a05f2371e2.tar.xz
armv7/snow: Remove power_init from bootblock.
The power_init is not required on Exynos 5250 (snow) in bootblock stage. To get a cleaner and faster bootblock, we can remove it. Note, power_init internally calls max77686 and s3c24x0_i2c, so both files are also removed. Verified to boot on armv7/snow. Change-Id: I5b15dfe5ac7bf4650565fea0afefc94a228ece29 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/2317 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--src/cpu/samsung/exynos5250/Makefile.inc1
-rw-r--r--src/cpu/samsung/s5p-common/Makefile.inc1
-rw-r--r--src/drivers/maxim/max77686/Makefile.inc1
-rw-r--r--src/mainboard/google/snow/bootblock.c2
4 files changed, 0 insertions, 5 deletions
diff --git a/src/cpu/samsung/exynos5250/Makefile.inc b/src/cpu/samsung/exynos5250/Makefile.inc
index e2033ffcad..1c6d7169a0 100644
--- a/src/cpu/samsung/exynos5250/Makefile.inc
+++ b/src/cpu/samsung/exynos5250/Makefile.inc
@@ -9,7 +9,6 @@
bootblock-y += clock_init.c
bootblock-y += clock.c
bootblock-y += pinmux.c
-bootblock-y += power.c
bootblock-y += soc.c
bootblock-y += uart.c
diff --git a/src/cpu/samsung/s5p-common/Makefile.inc b/src/cpu/samsung/s5p-common/Makefile.inc
index 621576dbac..0f4200c770 100644
--- a/src/cpu/samsung/s5p-common/Makefile.inc
+++ b/src/cpu/samsung/s5p-common/Makefile.inc
@@ -1,5 +1,4 @@
bootblock-y += pwm.c
-bootblock-y += s3c24x0_i2c.c
bootblock-y += s5p_gpio.c
bootblock-y += timer.c
diff --git a/src/drivers/maxim/max77686/Makefile.inc b/src/drivers/maxim/max77686/Makefile.inc
index 097b29172d..a5d7b90d01 100644
--- a/src/drivers/maxim/max77686/Makefile.inc
+++ b/src/drivers/maxim/max77686/Makefile.inc
@@ -17,6 +17,5 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-bootblock-$(CONFIG_DRIVER_MAXIM_MAX77686) += max77686.c
romstage-$(CONFIG_DRIVER_MAXIM_MAX77686) += max77686.c
ramstage-$(CONFIG_DRIVER_MAXIM_MAX77686) += max77686.c
diff --git a/src/mainboard/google/snow/bootblock.c b/src/mainboard/google/snow/bootblock.c
index 8390ae843c..bcfe440379 100644
--- a/src/mainboard/google/snow/bootblock.c
+++ b/src/mainboard/google/snow/bootblock.c
@@ -27,7 +27,6 @@
#include <cpu/samsung/exynos5250/dmc.h>
#include <cpu/samsung/exynos5250/periph.h>
#include <cpu/samsung/exynos5250/clock_init.h>
-#include <src/cpu/samsung/exynos5250/power.h>
#endif
@@ -37,7 +36,6 @@ void bootblock_mainboard_init(void)
struct mem_timings *mem;
struct arm_clk_ratios *arm_ratios;
- power_init();
mem = get_mem_timings();
arm_ratios = get_arm_clk_ratios();
system_clock_init(mem, arm_ratios);