soc: aspeed-lpc-ctrl: Fail probe of lpc-ctrl if reserved memory is not aligned
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 16 Oct 2019 23:39:50 +0000 (10:09 +1030)
committerJoel Stanley <joel@jms.id.au>
Fri, 25 Sep 2020 04:38:14 +0000 (14:08 +0930)
commit6bf4ddbe2b4805f0628922446a7e85e34013cd10
tree45d3dda2fd7830059cc6b7173eb8c4e2858c953e
parent44ddc4de87a54b32ead77d3ec67f0bf93d8c0055
soc: aspeed-lpc-ctrl: Fail probe of lpc-ctrl if reserved memory is not aligned

Alignment is a hardware constraint of the LPC2AHB bridge, and misaligned
reserved memory will present as corrupted data.

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