Re: [PATCH 1/5] aspeed/smc: Restore default AHB window mapping at reset

2019-11-17 Thread Joel Stanley
On Thu, 14 Nov 2019 at 09:46, Cédric Le Goater wrote: > > The current model only restores the Segment Register values but leaves > the previous CS mapping behind. Introduce a helper setting the > register value and mapping the region at the requested address. Use > this helper when a Segment regis

[PATCH 1/5] aspeed/smc: Restore default AHB window mapping at reset

2019-11-14 Thread Cédric Le Goater
The current model only restores the Segment Register values but leaves the previous CS mapping behind. Introduce a helper setting the register value and mapping the region at the requested address. Use this helper when a Segment register is set and at reset. Signed-off-by: Cédric Le Goater --- h