[U-Boot] [PATCH] imx: mx7dsabresd: consolidate BOOT_FROM

Peng Fan van.freenix at gmail.com
Sun Aug 28 13:52:15 CEST 2016


Hi Stefano,

On Fri, Aug 26, 2016 at 04:03:00PM +0200, Stefano Babic wrote:
>Hi Peng,
>
>On 11/08/2016 08:09, Peng Fan wrote:
>> To i.MX7, different boot medias' IVT offset is fixed at 0x400.
>> So consolidate BOOT_FROM to use FLASH_OFFSET_STANDARD.
>> 
>> Signed-off-by: Peng Fan <peng.fan at nxp.com>
>> Cc: Stefano Babic <sbabic at denx.de>
>> ---
>>  board/freescale/mx7dsabresd/imximage.cfg | 7 ++-----
>>  1 file changed, 2 insertions(+), 5 deletions(-)
>> 
>> diff --git a/board/freescale/mx7dsabresd/imximage.cfg b/board/freescale/mx7dsabresd/imximage.cfg
>> index 76574ff..7314316 100644
>> --- a/board/freescale/mx7dsabresd/imximage.cfg
>> +++ b/board/freescale/mx7dsabresd/imximage.cfg
>> @@ -16,11 +16,8 @@
>>  
>>  IMAGE_VERSION 2
>>  
>> -/*
>> - * Boot Device : sd
>> - */
>> -
>> -BOOT_FROM	sd
>> +/* valid for various boot medias */
>> +BOOT_FROM	FLASH_OFFSET_STANDARD
>>  
>
>But this is not:
>
>
>BOOT_OFFSET	FLASH_OFFSET_STANDARD
>
>istead of BOTT_FROM ? It looks to me wrong.

My bad. You are right. I missed to do a compile test for this.

Thanks,
Peng.

>
>Best regards,
>Stefano Babic
>
>-- 
>=====================================================================
>DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
>HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
>=====================================================================


More information about the U-Boot mailing list