summaryrefslogtreecommitdiff
path: root/board/vpac270/onenand.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-03-28 05:38:42 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-03-28 23:57:04 +0200
commit4af7692026ed23fc0424af7eb54595f05acedfce (patch)
tree28dc71276d255bc6f247e3038a78cbb9a07bf53a /board/vpac270/onenand.c
parentb39643b72c89489896b1fc2fd9e230b319f2c0c3 (diff)
downloadu-boot-imx-4af7692026ed23fc0424af7eb54595f05acedfce.zip
u-boot-imx-4af7692026ed23fc0424af7eb54595f05acedfce.tar.gz
u-boot-imx-4af7692026ed23fc0424af7eb54595f05acedfce.tar.bz2
board/vpac270/onenand.c: Fix build errors
Building for vpac270_ond_256 configuration fails: arch/arm/lib/libarm.o: In function `icache_disable': /home/ag/git/u-boot/arch/arm/lib/cache-cp15.c:156: multiple definition of `icache_disable' board/vpac270/libvpac270.o:/home/ag/git/u-boot/board/vpac270/onenand.c:65: first defined here arch/arm/lib/libarm.o: In function `dcache_disable': /home/ag/git/u-boot/arch/arm/lib/cache-cp15.c:188: multiple definition of `dcache_disable' board/vpac270/libvpac270.o:/home/ag/git/u-boot/board/vpac270/onenand.c:66: first defined here make[1]: *** [/home/ag/git/u-boot/spl/u-boot-spl] Error 1 Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/vpac270/onenand.c')
-rw-r--r--board/vpac270/onenand.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c
index c2ae9a7..47f44c3 100644
--- a/board/vpac270/onenand.c
+++ b/board/vpac270/onenand.c
@@ -60,6 +60,3 @@ void __attribute__((noreturn)) hang(void)
for (;;)
;
}
-
-void icache_disable(void) {}
-void dcache_disable(void) {}