[U-Boot] VCMA9 build fails: ARM board references PPC4xx header

Wolfgang Denk wd at denx.de
Tue Oct 5 20:55:57 CEST 2010


Dear David & Peter,

since Stefan's ppc4xx reorganization patches (commit b36df561:
"ppc4xx: Move ppc4xx headers to powerpc include directory") the
building of the VCMA9 breaks with this error message:

../common/memtst.c:51:28: error: asm/ppc4xx-i2c.h: No such file or directory

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?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Everything should be made as simple as possible, but not simpler."
                                                    - Albert Einstein


More information about the U-Boot mailing list