]> git.sur5r.net Git - u-boot/commitdiff
board/vpac270/onenand.c: Fix build errors
authorAnatolij Gustschin <agust@denx.de>
Wed, 28 Mar 2012 05:38:42 +0000 (05:38 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 28 Mar 2012 21:57:04 +0000 (23:57 +0200)
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>
board/vpac270/onenand.c

index c2ae9a711b3bd7577d9811f3c5abac83a7164518..47f44c3589c1421a1525dfa146182bcb5ee90c40 100644 (file)
@@ -60,6 +60,3 @@ void __attribute__((noreturn)) hang(void)
        for (;;)
                ;
 }
-
-void icache_disable(void) {}
-void dcache_disable(void) {}