[U-Boot] [PATCH 5/8] armv8: fsl-layerscape: add define CONFIG_STANDALONE_LOAD_ADDR for standalone app

york sun york.sun at nxp.com
Mon Aug 29 17:32:07 CEST 2016


On 08/28/2016 09:58 PM, Shaohui Xie wrote:
>> On 08/26/2016 04:40 AM, Gong Qianyu wrote:
>>> From: Shaohui Xie <Shaohui.Xie at nxp.com>
>>>
>>> The CONFIG_STANDALONE_LOAD_ADDR is set to 0x80300000 by default.
>>>
>>> Signed-off-by: Shaohui Xie <Shaohui.Xie at nxp.com>
>>> Signed-off-by: Gong Qianyu <Qianyu.Gong at nxp.com>
>>> ---
>>>  arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/arch/arm/include/asm/arch-fsl-layerscape/config.h
>> b/arch/arm/include/asm/arch-fsl-layerscape/config.h
>>> index b0ad4b4..c7e374c 100644
>>> --- a/arch/arm/include/asm/arch-fsl-layerscape/config.h
>>> +++ b/arch/arm/include/asm/arch-fsl-layerscape/config.h
>>> @@ -9,6 +9,8 @@
>>>
>>>  #include <fsl_ddrc_version.h>
>>>
>>> +#define CONFIG_STANDALONE_LOAD_ADDR	0x80300000
>>> +
>>
>> Do you really need this? It is default to 0x80300000 in arch/arm/config.mk.
> [S.H] It's needed, in the arch/arm/config.mk, it's defined as:
>
> ifndef CONFIG_STANDALONE_LOAD_ADDR
> ifneq ($(CONFIG_OMAP_COMMON),)
> CONFIG_STANDALONE_LOAD_ADDR = 0x80300000
> else
> CONFIG_STANDALONE_LOAD_ADDR = 0xc100000
> endif
> endif
>
> we need the CONFIG_STANDALONE_LOAD_ADDR defined as a valid address for ARM.
> The proposed patch is to clearly define the CONFIG_STANDALONE_LOAD_ADDR for our SOCs.
>

All right. Somehow I remember using 0x80300000 before, without this 
change. I must have it set somewhere else.

York



More information about the U-Boot mailing list