summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/exynos5-common/spi.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-02-14 17:06:43 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-15 19:05:39 +0100
commit1cf46a7bbf7881275ea74520e9e926abe18e5ffe (patch)
tree8e387514ea4b2527100dcce219c75fcbee0b904e /src/cpu/samsung/exynos5-common/spi.c
parent37955a21d16e3626427f3685fdafe08297f9c67d (diff)
ARMv7: Drop u-boot type remains
Just a mechanical cleanup. Change-Id: I0815625e629ab0b7ae6c948144085f1bd8cabfb5 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2408 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu/samsung/exynos5-common/spi.c')
-rw-r--r--src/cpu/samsung/exynos5-common/spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/samsung/exynos5-common/spi.c b/src/cpu/samsung/exynos5-common/spi.c
index 81927370e6..33f4d99fd2 100644
--- a/src/cpu/samsung/exynos5-common/spi.c
+++ b/src/cpu/samsung/exynos5-common/spi.c
@@ -44,8 +44,8 @@ static void exynos_spi_rx_tx(struct exynos_spi *regs, int todo,
void *dinp, void const *doutp, int i)
{
int rx_lvl, tx_lvl;
- uint *rxp = (uint *)(dinp + (i * (32 * 1024)));
- uint out_bytes, in_bytes;
+ unsigned int *rxp = (unsigned int *)(dinp + (i * (32 * 1024)));
+ unsigned int out_bytes, in_bytes;
// TODO In currrent implementation, every read/write must be aligned to
// 4 bytes, otherwise you may get timeout or other unexpected results.