powerpc: Move of_drconf_cell struct to asm/drmem.h
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Fri, 1 Dec 2017 16:47:42 +0000 (10:47 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Jan 2018 12:26:29 +0000 (23:26 +1100)
commit2c77721552e565e900705f4499067f8d37be3976
treeef539ecf931aec892d3e80e9c657e8eb2c49506d
parent6195a5001f1d11e1ff6a7e47a865f4b42c1bb28c
powerpc: Move of_drconf_cell struct to asm/drmem.h

Now that the powerpc code parses dynamic reconfiguration memory
LMB information from the LMB array and not the device tree
directly we can move the of_drconf_cell struct to drmem.h where
it fits better.

In addition, the struct is renamed to of_drconf_cell_v1 in
anticipation of upcoming support for version 2 of the dynamic
reconfiguration property and the members are typed as __be*
values to reflect how they exist in the device tree.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/drmem.h
arch/powerpc/include/asm/prom.h
arch/powerpc/mm/drmem.c
arch/powerpc/platforms/pseries/hotplug-memory.c