Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-09-23 Thread Sandy Patterson
> > My concern with the Rockchip back-to-brom feature is that then U-Boot > cannot load U-Boot normally as SPL likes to do. I think it is fine > when we are short on space, but OF_PLATDATA fixes that. > > So I think the back-to-rom feature need to be optional on boards which > don't have to use it,

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-09-22 Thread Simon Glass
Hi Sandy, On 12 August 2016 at 11:35, Sandy Patterson wrote: > > > On Fri, Aug 12, 2016 at 1:20 PM, Simon Glass wrote: >> >> Hi Ziyuan, >> >> On 11 August 2016 at 05:35, Ziyuan Xu wrote: >> > >> > >> > On 2016年08月11日 19:31, Sandy Patterson wrote: >> >> >> >> Simon, >> >> >> >> I am trying to fo

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-08-12 Thread Sandy Patterson
On Fri, Aug 12, 2016 at 1:20 PM, Simon Glass wrote: > Hi Ziyuan, > > On 11 August 2016 at 05:35, Ziyuan Xu wrote: > > > > > > On 2016年08月11日 19:31, Sandy Patterson wrote: > >> > >> Simon, > >> > >> I am trying to format a patch to disable MMC in the SPL if booting main > >> u-boot using BOOTROM,

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-08-12 Thread Simon Glass
Hi Ziyuan, On 11 August 2016 at 05:35, Ziyuan Xu wrote: > > > On 2016年08月11日 19:31, Sandy Patterson wrote: >> >> Simon, >> >> I am trying to format a patch to disable MMC in the SPL if booting main >> u-boot using BOOTROM, therefore the SPL MMC isn't needed. >> >> Is the best solution to wrap eve

[U-Boot] disabling mmc in spl when booting using bootrom

2016-08-11 Thread Sandy Patterson
Simon, I am trying to format a patch to disable MMC in the SPL if booting main u-boot using BOOTROM, therefore the SPL MMC isn't needed. Is the best solution to wrap every header file (rock2.h firefly-rk3288.h, etc) with ifdefs on the BACK_TO_BROM define? Or would it be better to move the SPL MMC

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-08-11 Thread Sandy Patterson
On Thu, Aug 11, 2016 at 7:35 AM, Ziyuan Xu wrote: > > > On 2016年08月11日 19:31, Sandy Patterson wrote: > >> Simon, >> >> I am trying to format a patch to disable MMC in the SPL if booting main >> u-boot using BOOTROM, therefore the SPL MMC isn't needed. >> >> Is the best solution to wrap every head

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-08-11 Thread Ziyuan Xu
On 2016年08月11日 19:31, Sandy Patterson wrote: Simon, I am trying to format a patch to disable MMC in the SPL if booting main u-boot using BOOTROM, therefore the SPL MMC isn't needed. Is the best solution to wrap every header file (rock2.h firefly-rk3288.h, etc) with ifdefs on the BACK_TO_BR

Re: [U-Boot] disabling mmc in spl when booting using bootrom

2016-08-11 Thread Ziyuan Xu
On 2016年08月11日 19:39, Sandy Patterson wrote: On Thu, Aug 11, 2016 at 7:35 AM, Ziyuan Xu > wrote: On 2016年08月11日 19:31, Sandy Patterson wrote: Simon, I am trying to format a patch to disable MMC in the SPL if booting main u-boot us