[U-Boot] [PATCH] toplevel Makefile: Add MPC8641HPCN_36BIT target

Becky Bruce
2008-11-06T21:40:45Z

On Nov 6, 2008, at 3:06 PM, Scott Wood wrote:

> Becky Bruce wrote:
>> This will enable CONFIG_PHYS_36BIT for MPC8641HPCN.
>> Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
>> ---
>> Makefile | 8 +++++++-
>> 1 files changed, 7 insertions(+), 1 deletions(-)
>> diff --git a/Makefile b/Makefile
>> index 983a3cd..09e671d 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -2436,8 +2436,14 @@ TQM8560_config: unconfig
>> MPC8610HPCD_config: unconfig
>> @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
>> +MPC8641HPCN_36BIT_config \
>> MPC8641HPCN_config: unconfig
>> - @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
>> + @mkdir -p $(obj)include
>> + @if [ "$(findstring _36BIT_,$@)" ] ; then \
>> + echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
>> + $(XECHO) "... enabling 36-bit physical addressing." ; \
>> + fi
>> + @$(MKCONFIG) -a MPC8641HPCN ppc mpc86xx mpc8641hpcn freescale
>> sbc8641d_config: unconfig
>> @$(MKCONFIG) $(@:_config=) ppc mpc86xx sbc8641d
>
> When would you ever not turn this on?
>

We don't want PHYS_64BIT on unconditionally. It has the effect of
moving all the devices into high physical memory, which means you need
a different Linux/dts. I expect the normal case to be that it is
off. Just those few customers that actually want to do this will use
the PHYS_64BIT version.

Cheers,
B