]> git.baikalelectronics.ru Git - kernel.git/commit
misc: aspeed-lpc-ctrl: Enable FWH and A2H bridge cycles
authorJoel Stanley <joel@jms.id.au>
Mon, 19 Feb 2018 07:24:22 +0000 (17:54 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 17:20:51 +0000 (18:20 +0100)
commit0b0a4c2e872866907a6db123f1f788b3d1ec849a
tree9678ad190c2581b051061a5a35b711f2ef633dac
parent40fe2daeab600b8914feb8e8992c1f189106bb8d
misc: aspeed-lpc-ctrl: Enable FWH and A2H bridge cycles

To date this driver has relied on prevous state from out of tree hacks
and vendor u-boot trees in order to have the host be able to access
data over the LPC bus.

Now we explicitly enable the AHB to LPC bridge and FWH cycles from when
the user first configures the address to map. We chose to do this then
as before that time there is no way for the kernel to know where it is
safe to point the LPC window.

Tested-by: Lei YU <mine260309@gmail.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/aspeed-lpc-ctrl.c