Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-19 Thread Jagan Teki
On Wed, Sep 18, 2019 at 3:24 PM Kever Yang wrote: > > > On 2019/9/18 下午1:25, Jagan Teki wrote: > > On Wed, Sep 18, 2019 at 10:36 AM Kever Yang > > wrote: > >> > >> On 2019/9/17 下午2:10, Jagan Teki wrote: > >>> SPL sets up SDRAM while in its board_init_f() > >>> function, it is possible for the

Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-18 Thread Kever Yang
On 2019/9/18 下午1:25, Jagan Teki wrote: On Wed, Sep 18, 2019 at 10:36 AM Kever Yang wrote: On 2019/9/17 下午2:10, Jagan Teki wrote: SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve

Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-18 Thread Kever Yang
On 2019/9/17 下午2:10, Jagan Teki wrote: SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve the stack for SDRAM, with a proper location and size otherwise any operations during SPL

Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-17 Thread Jagan Teki
On Wed, Sep 18, 2019 at 10:36 AM Kever Yang wrote: > > > On 2019/9/17 下午2:10, Jagan Teki wrote: > > SPL sets up SDRAM while in its board_init_f() > > function, it is possible for the stack to move > > there before board_init_r() is reached. > > > > So it is required to reserve the stack for

Re: [U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-17 Thread Kever Yang
On 2019/9/17 下午2:10, Jagan Teki wrote: SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve the stack for SDRAM, with a proper location and size otherwise any operations during SPL

[U-Boot] [PATCH 6/7] configs: tinker: Enable SDRAM, SPL stack

2019-09-17 Thread Jagan Teki
SPL sets up SDRAM while in its board_init_f() function, it is possible for the stack to move there before board_init_r() is reached. So it is required to reserve the stack for SDRAM, with a proper location and size otherwise any operations during SPL handoff would leads to failure. On, this