[U-Boot] [PATCH 9/9] mpc8641: Support 36-bit physical addressing
Kumar Gala
galak at kernel.crashing.org
Wed Nov 5 22:42:56 CET 2008
On Nov 5, 2008, at 2:55 PM, Becky Bruce wrote:
> This patch creates a memory map with all the devices
> in 36-bit physical space, in addition to the 32-bit map.
> The CCSR relocation is moved (again, sorry) to
> allow for the physical address to be 36 bits - this
> requires translation to be enabled. With 36-bit physical
> addressing enabled, we are no longer running with VA=PA
> translations. This means we have to distinguish between
> the two in the config file. The existing region name is
> used to indicate the virtual address, and a _PHYS variety
> is created to represent the physical address.
>
> Large physical addressing is not enabled by default.
> Set CONFIG_PHYS_64BIT in the config file to turn this on.
>
> Signed-off-by: Becky Bruce <becky.bruce at freescale.com>
> ---
> board/freescale/mpc8641hpcn/law.c | 13 ++--
> cpu/mpc86xx/start.S | 44 ++++++++---
> include/configs/MPC8641HPCN.h | 164 ++++++++++++++++++++++++++++
> +--------
> 3 files changed, 168 insertions(+), 53 deletions(-)
Can we add something to the top level Makefile like the following:
MPC8641HPCN_36BIT_config \
MPC8641HPCN_config: unconfig
@mkdir -p $(obj)include
@if [ "$(findstring _36BIT_,$@)" ] ; then \
$(XECHO) -n "... I Rock " ; \
echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/
config.h ;\
fi ;
@$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale
(also add this to MAKEALL)
The name could be better.
- k
More information about the U-Boot
mailing list