Re: [U-Boot] [PATCH] rockchip: rk3399: spl: remove hard-coded addresses for GRF and SGRF

2017-09-12 Thread Dr. Philipp Tomsich
> On 11 Sep 2017, at 12:47, Philipp Tomsich > wrote: > > On the RK3399, we will have either OF_PLATDATA or full OF_CONTROL > enabled: this allows the use of syscon to retrieve the addresses of > GRF and SGRF (except for the early debug UART setup, which

Re: [U-Boot] [PATCH] rockchip: rk3399: spl: remove hard-coded addresses for GRF and SGRF

2017-09-12 Thread Simon Glass
On 11 September 2017 at 04:47, Philipp Tomsich wrote: > On the RK3399, we will have either OF_PLATDATA or full OF_CONTROL > enabled: this allows the use of syscon to retrieve the addresses of > GRF and SGRF (except for the early debug UART setup, which runs

[U-Boot] [PATCH] rockchip: rk3399: spl: remove hard-coded addresses for GRF and SGRF

2017-09-11 Thread Philipp Tomsich
On the RK3399, we will have either OF_PLATDATA or full OF_CONTROL enabled: this allows the use of syscon to retrieve the addresses of GRF and SGRF (except for the early debug UART setup, which runs so early that the device-model is not initialised). This removes the hard-coded addresses and goes