[PATCH] powerpc/qe: Fix few build errors with CONFIG_QUICC_ENGINE=n
Kumar Gala
galak at kernel.crashing.org
Wed Dec 31 04:19:22 EST 2008
On Dec 5, 2008, at 10:59 AM, Anton Vorontsov wrote:
> Some 83xx boards were not ready for the optional QUICC Engine support.
>
> This patch fixes following build errors:
>
> arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
> (.text+0xb308): undefined reference to `par_io_data_set'
> arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
> (.text+0xb334): undefined reference to `par_io_data_set'
> arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
> (.text+0xb408): undefined reference to `qe_ic_get_high_irq'
> arch/powerpc/platforms/built-in.o: In function `flush_disable_caches':
> (.text+0xb478): undefined reference to `qe_ic_get_low_irq'
> arch/powerpc/platforms/built-in.o: In function `mpc832x_spi_init':
> mpc832x_rdb.c:(.init.text+0x574c): undefined reference to
> `par_io_config_pin'
> mpc832x_rdb.c:(.init.text+0x5768): undefined reference to
> `par_io_config_pin'
> mpc832x_rdb.c:(.init.text+0x5784): undefined reference to
> `par_io_config_pin'
> mpc832x_rdb.c:(.init.text+0x57a0): undefined reference to
> `par_io_config_pin'
> mpc832x_rdb.c:(.init.text+0x57bc): undefined reference to
> `par_io_config_pin'
> arch/powerpc/platforms/built-in.o:mpc832x_rdb.c:(.init.text+0x57d8):
> more undefined references to `par_io_config_pin' follow
> arch/powerpc/platforms/built-in.o: In function `mpc836x_rdk_init_IRQ':
> mpc836x_rdk.c:(.init.text+0x5e84): undefined reference to `qe_ic_init'
> arch/powerpc/platforms/built-in.o: In function
> `mpc836x_rdk_setup_arch':
> mpc836x_rdk.c:(.init.text+0x5f10): undefined reference to `qe_reset'
> make: *** [.tmp_vmlinux1] Error 1
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> ---
> arch/powerpc/include/asm/qe.h | 16 ++++++++++++++--
> arch/powerpc/include/asm/qe_ic.h | 21 +++++++++++++++++----
> 2 files changed, 31 insertions(+), 6 deletions(-)
applied to next
- k
More information about the Linuxppc-dev
mailing list