fix compilation problem for mpc8349itx CFG_RAMBOOT
authorNikita V. Youshchenko <yoush@debian.org>
Wed, 23 May 2007 08:45:19 +0000 (12:45 +0400)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 1 Jun 2007 20:07:09 +0000 (15:07 -0500)
commit5b1313fb2758ffce8b624457f777d8cc6709608d
tree37b5e0fb5215da5427d83e8473ec90fa617772bd
parent8a364f0970de49949d635e60accf463c6443ef8c
fix compilation problem for mpc8349itx CFG_RAMBOOT

Current include/configs/MPC8349ITX.h does contain some support for building
image that will be started from memory (without putting in into flash).
It could be triggered by building with TEXT_BASE set to a low value.

However, this support is incomplete: using of low TEXT_BASE causes
defining configuration macros in inconsistent way, which later leads
to compilation errors. In particular. flash support is being disabled,
but then flash structures get referenced.

This patch fixes this, making it possible to build with low TEXT_BASE.

Signed-Off-By: Nikita Youshchenko <yoush@debian.org>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/MPC8349ITX.h