Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-17 Thread Max Krummenacher
2016-10-17 14:45 GMT+02:00 Marek Vasut : > On 10/17/2016 02:28 PM, Max Krummenacher wrote: >> Hi Marek >> >> #if defined(CONFIG_SPL_MMC_SUPPORT) >> #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR138 /* >> offset 69KB */ >> +#define CONFIG_SPL_PAD_TO 0x11000 /*

Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-17 Thread Marek Vasut
On 10/17/2016 02:28 PM, Max Krummenacher wrote: > Hi Marek > > #if defined(CONFIG_SPL_MMC_SUPPORT) > #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR138 /* > offset 69KB */ > +#define CONFIG_SPL_PAD_TO 0x11000 /* offset > 68KB */ Does this mess u

Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-17 Thread Max Krummenacher
Hi Marek #if defined(CONFIG_SPL_MMC_SUPPORT) #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR138 /* offset 69KB */ +#define CONFIG_SPL_PAD_TO 0x11000 /* offset 68KB */ >>> >>> Does this mess up boards which can boot from both SD and other boot >>> med

Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-15 Thread Marek Vasut
On 10/15/2016 09:17 PM, Max Krummenacher wrote: > Hi Marak > >>> --- a/include/configs/imx6_spl.h >>> +++ b/include/configs/imx6_spl.h >>> @@ -23,6 +23,8 @@ >>> *which consists of a 4K header in front of us that contains >>> the IVT, DCD >>> *and some padding thus 'our' max size is rea

Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-15 Thread Max Krummenacher
Hi Marak > > --- a/include/configs/imx6_spl.h > > +++ b/include/configs/imx6_spl.h > > @@ -23,6 +23,8 @@ > > *which consists of a 4K header in front of us that contains > > the IVT, DCD > > *and some padding thus 'our' max size is really 0x00908000 - > > 0x00918000 > > *or 64KB >

Re: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-15 Thread Marek Vasut
On 10/15/2016 07:10 PM, Max Krummenacher wrote: > Synchronize CONFIG_SPL_PAD_TO (used at build time for u-boot-with-spl.imx) > with > CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR (used by SPL to read u-boot image). > > Signed-off-by: Max Krummenacher > --- > > include/configs/imx6_spl.h | 3 +++ >

[U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset

2016-10-15 Thread Max Krummenacher
Synchronize CONFIG_SPL_PAD_TO (used at build time for u-boot-with-spl.imx) with CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR (used by SPL to read u-boot image). Signed-off-by: Max Krummenacher --- include/configs/imx6_spl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/imx6_