x86: apl: Take advantage of the of-platdata parent support
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 17:31:39 +0000 (11:31 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:18 +0000 (14:42 -0600)
commitbb44ebdd0f3eccece2081ec51cf3b3554dafd801
tree8df7643fc7155e6fd1ff71cc0be512c333a333da
parentd07f31aea07ec642e8072fe0b83ba56ec83cc561
x86: apl: Take advantage of the of-platdata parent support

Now that parent devices are supported with of-platadata, we don't need the
messy code to fix up the parent pointers and allocations on Apollo Lake.
Put the code behind a condition.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/apollolake/spl.c
drivers/misc/p2sb-uclass.c