Wolfgang Denk schrieb:
> The problem comes from board/mpl/common/memtst.c which contains an
> unconditional "#include <asm/ppc4xx-i2c.h>" which is obviously wrong
> when the file gets compiled for an ARM board as VCMA9.
> 
> Can you please provide a fix?

The solution is to remove the include completely as it is not needed at all.

Dave
Signed-off-by: David Mueller <d.muel...@elsoft.ch>

diff --git a/board/mpl/common/memtst.c b/board/mpl/common/memtst.c
index 9c08065..8810302 100644
--- a/board/mpl/common/memtst.c
+++ b/board/mpl/common/memtst.c
@@ -48,7 +48,6 @@ int testdram (void)
 
 #include <common.h>
 #include <asm/processor.h>
-#include <asm/ppc4xx-i2c.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to