x86: apl: Drop the I2C config in FSP-S
authorSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 16:54:55 +0000 (09:54 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 7 Feb 2020 14:41:24 +0000 (22:41 +0800)
commiteb8af95fc586a769538ff3b613e57aff9a51731e
tree871838bc0c51a34b444b2db80d6df22f28b04af5
parent659252e7def2be650cc947df850184a3f8fcab3c
x86: apl: Drop the I2C config in FSP-S

This config is not actually used here and in U-Boot it seems better to set
this using the device tree for each individual controller. The monolithic
config of the FSP-S is only necessary if the FSP is actually configuring
something, but here it is not.

The FSP-S does enable/disable the various I2C ports. It might be nice to
handle this using the okay/disabled property of each port, but that can be
considered later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/apollolake/fsp_s.c