[PATCH] arm: at91: fix build-error for board-dt

Wolfram Sang w.sang at pengutronix.de
Sun Apr 22 10:34:20 EDT 2012


> How about this patch for v3.4 then? It ensures that we don't try to build
> ARCH_AT91RM9200 or ARCH_AT91X40 with MACH_AT91SAM_DT, which would be broken
> in v3.4-rc4 as Wolfram pointed out.
> 
> 8<----
> ARM: at91: fix DT-enabled builds for non-DT chips
> 
> The ARCH_AT91RM9200 and ARCH_AT91X40 variants do not support booting with
> DT yet, so we must not let the user select MACH_AT91SAM_DT in order
> to avoid build errors.
> 
> It's still possible to enable USE_OF, and we should provide a few stub
> functions for that case for restart and clock_init.
> 
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Thanks! In case it goes in:

Reported-by: Wolfram Sang <w.sang at pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120422/638bd040/attachment.sig>


More information about the linux-arm-kernel mailing list