imx: mx7dsabresd: consolidate BOOT_FROM
PATCH 1/1 imx: mx7dsabresd: consolidate BOOT_FROM
To i.MX7, different boot medias' IVT offset is fixed at 0x400. So consolidate BOOT_FROM to use FLASH_OFFSET_STANDARD.
--- board/freescale/mx7dsabresd/imximage.cfg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
board/freescale/mx7dsabresd/imximage.cfg +2 -5
@@ -16,11 +16,8 @@ IMAGE_VERSION 2 -/* - * Boot Device : sd - */ - -BOOT_FROM sd +/* valid for various boot medias */ +BOOT_FROM FLASH_OFFSET_STANDARD /* * Secure boot support
Signature · 1 line
2.6.2
PATCH 1/1 imx: mx7dsabresd: consolidate BOOT_FROM
Quoted 18 lines · Peng Fan
To i.MX7, different boot medias' IVT offset is fixed at
0x400. So consolidateBOOT_FROMto useFLASH_OFFSET_STANDARD.Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>--- board/freescale/mx7dsabresd/imximage.cfg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)board/freescale/mx7dsabresd/imximage.cfg +0
-0@@ -16,11 +16,8 @@ IMAGE_VERSION 2
board/freescale/mx7dsabresd/imximage.cfg line 23
Quoted 10 lines
board/freescale/mx7dsabresd/imximage.cfg +2
-5-/* - * Boot Device : sd - */ - -BOOT_FROM sd +/* valid for various boot medias */ +BOOT_FROM FLASH_OFFSET_STANDARD /* * Secure boot support
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================
PATCH 1/1 imx: mx7dsabresd: consolidate BOOT_FROM
In reply to Peng FanHi Peng,
Quoted 15 lines · Peng Fan
To i.MX7, different boot medias' IVT offset is fixed at
0x400. So consolidateBOOT_FROMto useFLASH_OFFSET_STANDARD.Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>--- board/freescale/mx7dsabresd/imximage.cfg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)board/freescale/mx7dsabresd/imximage.cfg +0
-0@@ -16,11 +16,8 @@
board/freescale/mx7dsabresd/imximage.cfg line 21
Quoted 10 lines
board/freescale/mx7dsabresd/imximage.cfg +2
-5IMAGE_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.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== 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 =====================================================================
PATCH 1/1 imx: mx7dsabresd: consolidate BOOT_FROM
Hi Stefano,
Quoted 32 lines · Stefano Babic
Hi Peng,
Quoted 15 lines · Peng Fan
To i.MX7, different boot medias' IVT offset is fixed at
0x400. So consolidateBOOT_FROMto useFLASH_OFFSET_STANDARD.Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>--- board/freescale/mx7dsabresd/imximage.cfg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)board/freescale/mx7dsabresd/imximage.cfg +0
-0@@ -16,11 +16,8 @@board/freescale/mx7dsabresd/imximage.cfg line 21
Quoted 10 lines
board/freescale/mx7dsabresd/imximage.cfg +2
-5IMAGE_VERSION 2 -/* - * Boot Device : sd - */ - -BOOT_FROM sd +/* valid for various boot medias */ +BOOT_FROM FLASH_OFFSET_STANDARDBut this is not:
Quoted 3 lines
BOOT_OFFSETFLASH_OFFSET_STANDARDistead of
BOTT_FROM? It looks to me wrong.
My bad. You are right. I missed to do a compile test for this.
Thanks,
Peng.
Quoted 10 lines
Best regards,
Stefano BabicSignature · 5 lines
===================================================================== 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 =====================================================================
PATCH 1/1 imx: mx7dsabresd: consolidate BOOT_FROM
Hi Peng,
Quoted 35 lines · Peng Fan
Hi Stefano,
Quoted 32 lines · Stefano Babic
Hi Peng,
Quoted 15 lines · Peng Fan
To i.MX7, different boot medias' IVT offset is fixed at
0x400. So consolidateBOOT_FROMto useFLASH_OFFSET_STANDARD.Signed-off-by Peng Fan <[email protected]>Cc Stefano Babic <[email protected]>--- board/freescale/mx7dsabresd/imximage.cfg | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)board/freescale/mx7dsabresd/imximage.cfg +0
-0@@ -16,11 +16,8 @@board/freescale/mx7dsabresd/imximage.cfg line 21
Quoted 10 lines
board/freescale/mx7dsabresd/imximage.cfg +2
-5IMAGE_VERSION 2 -/* - * Boot Device : sd - */ - -BOOT_FROM sd +/* valid for various boot medias */ +BOOT_FROM FLASH_OFFSET_STANDARDBut this is not:
Quoted 5 lines
Quoted 3 lines
BOOT_OFFSETFLASH_OFFSET_STANDARDistead of
BOTT_FROM? It looks to me wrong.My bad. You are right. I missed to do a compile test for this.
Ok, no problem. I fix it myself and I apply it.
Best regards,
Stefano
Signature · 5 lines
===================================================================== 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 =====================================================================