diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-02-09 16:42:23 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-02-10 04:02:47 +0100 |
commit | 0f7b400f2e3497cf37758f4b14040930bea22391 (patch) | |
tree | 57a6c95d9c0fe9b2b84eba9068f29b066388faec /src/cpu | |
parent | e50e3434709f1f37359eb3df25aded61fca76850 (diff) |
exynos/snow: set SPI clock rate in romstage main
This moves the setting of SPI clock rate into romstage's main,
which allows us to eliminate a bunch of dependencies from the
bootblock (about 7KB worth).
Change-Id: I371499bb4af6a6aa838294bc56f9dbc21864957a
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2346
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/samsung/exynos5-common/spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpu/samsung/exynos5-common/spi.c b/src/cpu/samsung/exynos5-common/spi.c index 90b74c018f..0e5d5e51f3 100644 --- a/src/cpu/samsung/exynos5-common/spi.c +++ b/src/cpu/samsung/exynos5-common/spi.c @@ -83,7 +83,6 @@ static void exynos_spi_rx_tx(struct exynos_spi *regs, int todo, int exynos_spi_open(struct exynos_spi *regs) { - clock_set_rate(PERIPH_ID_SPI1, 50000000); /* set spi clock to 50Mhz */ /* set the spi1 GPIO */ // TODO Some of these should be done in board's bootblock file. |