]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Mon, 13 Feb 2017 15:17:49 +0000 (16:17 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Mar 2017 13:27:19 +0000 (07:27 -0600)
commit61d4d6c0092b1c229e1da45850ddbb18f9f2fe73
treef8ebbf0463faeb686e7a536aecfa51e86a3ab3d7
parentd5ef43e861c0e8b86571af7df0696954e1231d09
drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register

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 SYSCON is not supported, the driver reverts to the old way of getting
the address from the 3rd memory range

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/spi/ti_qspi.c