discover: Move generic params routines to platform
authorGe Song <ge.song@hxt-semitech.com>
Thu, 2 Aug 2018 17:29:39 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
commit6fe83028cc8de0954e81bede58115c18ec29b040
tree576b389e85c47660a9100e46b3b60d6f547740be
parentec2b01710f0dbc4002b677693695214cbf7c54a8
discover: Move generic params routines to platform

Move the generic params routines from platform-powerpc to platform.
Also, for clarity, add a params prefix to the names.

Signed-off-by: Ge Song <ge.song@hxt-semitech.com>
[Split from a larger patch and cleaned up]
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/platform-powerpc.c
discover/platform.c
discover/platform.h