net: lpc-enet: factor out iram access
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Aug 2019 14:40:32 +0000 (16:40 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 15 Aug 2019 19:33:49 +0000 (21:33 +0200)
commit9dc03ffd996d4103cc2a11286d61e517bce27440
tree468e29c77d448d945d299cb0df25e84a17f39906
parentd88ce24a0f3b30aba39e2a8966381fdfa9191106
net: lpc-enet: factor out iram access

The lpc_eth driver uses a platform specific method to find
the internal sram. This prevents building it on other machines.

Rework to only use one function call and keep the other platform
internals where they belong. Ideally this would look up the
sram location from DT, but as this is a rarely used driver,
I want to keep the modifications to a minimum.

Link: https://lore.kernel.org/r/20190809144043.476786-7-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-lpc32xx/common.c
arch/arm/mach-lpc32xx/common.h
arch/arm/mach-lpc32xx/include/mach/board.h [deleted file]
drivers/net/ethernet/nxp/lpc_eth.c
include/linux/soc/nxp/lpc32xx-misc.h [new file with mode: 0644]