From: Anatolij Gustschin Date: Wed, 28 Mar 2012 05:38:42 +0000 (+0000) Subject: board/vpac270/onenand.c: Fix build errors X-Git-Tag: v2012.04-rc1~19^2~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4af7692026ed23fc0424af7eb54595f05acedfce;p=oweals%2Fu-boot.git 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 Cc: Marek Vasut Acked-by: Marek Vasut --- diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c index c2ae9a711b..47f44c3589 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) {}