[U-Boot] [PATCH 2/3] drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register

Simon Glass sjg at chromium.org
Fri Feb 10 16:22:52 UTC 2017


On 7 February 2017 at 08:45, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> We used to get the address of the optionnal ctrl_mod_mmap register as the
> third memory range of the "reg" property. the linux driver moved to use a
> syscon instead. In order to keep the DTS as close as possible to that of
> linux, we move to using a syscon as well.
>
> If CONFIG_SYSCON is no set, the driver reverts to the old way of getting
> the address from the 3rd memory range
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
>  drivers/spi/ti_qspi.c | 47 ++++++++++++++++++++++++++++++++++++++++++-----
>  1 file changed, 42 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list