[U-Boot] [PATCH 4/4] rockchip: add boot-mode support for rk3288, rk3036

2016-09-19 Thread Jacob Chen
rockchip platform have a protocol to pass the the kernel reboot mode to bootloader by some special registers when system reboot. In bootloader we should read it and take action. We can only setup boot_mode in board_late_init becasue "setenv" need env setuped. So add CONFIG_BOARD_LATE_INIT to co

Re: [U-Boot] [PATCH 4/4] rockchip: add boot-mode support for rk3288, rk3036

2016-09-22 Thread Simon Glass
On 19 September 2016 at 04:46, Jacob Chen wrote: > rockchip platform have a protocol to pass the the kernel reboot mode to > bootloader > by some special registers when system reboot. In bootloader we should read it > and take action. > > We can only setup boot_mode in board_late_init becasue "s

Re: [U-Boot] [PATCH 4/4] rockchip: add boot-mode support for rk3288, rk3036

2016-10-01 Thread Simon Glass
On 22 September 2016 at 20:58, Simon Glass wrote: > On 19 September 2016 at 04:46, Jacob Chen wrote: >> rockchip platform have a protocol to pass the the kernel reboot mode to >> bootloader >> by some special registers when system reboot. In bootloader we should read >> it and take action. >> >