powerpc/85xx: do not reloc l2srbar if CONFIG_FLASH_BASE is not defined
authorHaiying Wang <Haiying.Wang@freescale.com>
Wed, 1 Dec 2010 15:35:30 +0000 (10:35 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 1 Dec 2010 16:01:14 +0000 (10:01 -0600)
commit888279b5ed8a6243eda81af84a98adc64c5e4453
treec7227f6801d0fc02ddc749b144cfbc8b39608af0
parent558710b98bd71bc31a0447a28fab79cf4649aa69
powerpc/85xx: do not reloc l2srbar if CONFIG_FLASH_BASE is not defined

This fixes the compiling error for the board  which doesn't have NOR flash
(so CONFIG_FLASH_BASE is not defined)

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/cpu_init.c