x86: apl: Use devicetree for FSP-S configuration
authorBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Mon, 18 May 2020 10:33:35 +0000 (12:33 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
commitd9e7efe10a8ebf8e2142374be8438540838eb235
tree80bd5de982c01bf99407a83caba2c497bccf2010
parent1fa6305fd605635781b66abd5c6170ee29624743
x86: apl: Use devicetree for FSP-S configuration

A the moment the FSP-S configuration is a mix of hard coded values and
devicetree properties.

This patch makes FSP-S full configurable from devicetree by
adding binding properties for all FSP-S parameters.

Co-developed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Signed-off-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org> (Tested on coral)
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/fsp_bindings.c
arch/x86/cpu/apollolake/fsp_s.c
arch/x86/dts/chromebook_coral.dts
arch/x86/include/asm/arch-apollolake/fsp/fsp_s_upd.h
arch/x86/include/asm/arch-apollolake/fsp_bindings.h
doc/device-tree-bindings/fsp/fsp2/apollolake/fsp-s.txt [new file with mode: 0644]