Compile problem due to compressor changes, UART referenced in section .txt
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Mar 8 05:14:45 EST 2010
On Sun, Mar 07, 2010 at 05:19:08PM +0000, J.I. Cameron wrote:
> Dear All,
>
> Ran into the following problem on a pxa stargate2 platform (I think it will
> effect a number of others).
>
> `UART' referenced in section `.text' of arch/arm/boot/compressed/misc.o:
> defined in discarded section `.data' of arch/arm/boot/compressed/misc.o
> `UART' referenced in section `.text' of arch/arm/boot/compressed/misc.o:
> defined in discarded section `.data' of arch/arm/boot/compressed/misc.o
>
> There is a hack in mach-pxa/include/mach/uncompress.h
> that changes the primary uart for some platforms:
>
> static inline void arch_decomp_setup(void)
> {
> if (machine_is_littleton() || machine_is_intelmote2()
> || machine_is_csb726() || machine_is_stargate2()
> || machine_is_cm_x300() || machine_is_balloon3())
> UART = STUART;
else
UART = FFUART;
and remove the initializer from UART.
More information about the linux-arm-kernel
mailing list