diff options
author | Hung-Te Lin <hungte@chromium.org> | 2013-02-07 21:15:42 +0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-07 18:14:50 +0100 |
commit | 60485a3e915ad44783d564e07d5ed6e7b74b277b (patch) | |
tree | 7ae4eb8ae347db76a765c931fe5f7bf563a8a0f3 | |
parent | 5f83f6cb7a3f179482db54aaff38f23795dc1acf (diff) |
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 <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2316
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r-- | src/mainboard/google/snow/bootblock.c | 5 |
1 files changed, 0 insertions, 5 deletions
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 <cbfs.h> #include <uart.h> #include <console/console.h> -#include <device/i2c.h> #include <cpu/samsung/exynos5250/clk.h> #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> -#include <drivers/maxim/max77686/max77686.h> -#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(); |