mtd: hyperbus: move direct mapping setup to AM654 HBMC driver
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 29 Jan 2020 20:37:37 +0000 (23:37 +0300)
committerVignesh Raghavendra <vigneshr@ti.com>
Tue, 3 Mar 2020 04:43:11 +0000 (10:13 +0530)
commitb6fe8bc67d2d33a9eff1b0785482bccd14979115
tree35d507d4c738c9349bea28220087754124c5b478
parentcb6176ef25cef7a54ac1e8701f9dde822fce5cee
mtd: hyperbus: move direct mapping setup to AM654 HBMC driver

The Hyperbus core expects that HyperFlash is always directly mapped for
both read and write, but in reality this may not always be the case, e.g.
Renesas RPC-IF has read only direct mapping. Move the code setting up the
direct mapping from the Hyperbus core to thh TI AM554 HBMC driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/mtd/hyperbus/hbmc-am654.c
drivers/mtd/hyperbus/hyperbus-core.c