From 60485a3e915ad44783d564e07d5ed6e7b74b277b Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Thu, 7 Feb 2013 21:15:42 +0800 Subject: armv7/snow: Remove redundant I2C initialization calls in bootblock. The I2C initialization (on component MAX77688) is already done in power_init, so we should not need an explicit call inside bootblock. Verified to boot on armv7/snow. Change-Id: I68c248a8b5fee4ab838b2fb708649e112559cc41 Signed-off-by: Hung-Te Lin Reviewed-on: http://review.coreboot.org/2316 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/google/snow/bootblock.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/snow/bootblock.c b/src/mainboard/google/snow/bootblock.c index 64b12c68d2..8390ae843c 100644 --- a/src/mainboard/google/snow/bootblock.c +++ b/src/mainboard/google/snow/bootblock.c @@ -23,15 +23,12 @@ #include #include #include -#include #include #include #include #include #include -#include -#define I2C0_BASE 0x12c60000 #endif void bootblock_mainboard_init(void); @@ -40,8 +37,6 @@ void bootblock_mainboard_init(void) struct mem_timings *mem; struct arm_clk_ratios *arm_ratios; - i2c_set_early_reg(I2C0_BASE); - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); power_init(); mem = get_mem_timings(); arm_ratios = get_arm_clk_ratios(); -- cgit v1.2.3