soc: aspeed-lpc-ctrl: LPC to AHB mapping on ast2600
authorJoel Stanley <joel@jms.id.au>
Thu, 12 Mar 2020 12:14:13 +0000 (22:44 +1030)
committerJoel Stanley <joel@jms.id.au>
Fri, 25 Sep 2020 05:24:42 +0000 (14:54 +0930)
commit5042d3f278de45e215291d2adcf1024cc3c7f73a
tree5fc9eee19730b1c98409e3171c678cd9f21823cc
parent6bf4ddbe2b4805f0628922446a7e85e34013cd10
soc: aspeed-lpc-ctrl: LPC to AHB mapping on ast2600

The ast2600 disables the mapping of AHB memory regions by default,
only allowing the LPC window to point to SPI NOR. In order to point the
window to any AHB address, an ast2600 specific bit must be toggled.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20200312121413.294384-1-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/soc/aspeed/aspeed-lpc-ctrl.c