The VPL options are named VPL_I2C_SUPPORT and VPL_PCH_SUPPORT, but neither
symbol has a consumer. The driver build uses CONFIG_$(PHASE_)I2C and
CONFIG_$(PHASE_)PCH, which expand to VPL_I2C and VPL_PCH for this phase.

Rename the options to the names consumed by the build and update their
defaults to the current SPL_I2C and TPL_PCH symbols. No in-tree defconfig
sets the orphaned option names.

Fixes: 747093dd4089 ("vpl: Add Kconfig options for VPL")
Signed-off-by: Pengpeng Hou <[email protected]>
---
 common/spl/Kconfig.vpl | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/common/spl/Kconfig.vpl b/common/spl/Kconfig.vpl
index 434562443ac..d4c5636f3ac 100644
--- a/common/spl/Kconfig.vpl
+++ b/common/spl/Kconfig.vpl
@@ -139,11 +139,11 @@ config VPL_HASH
          this option to build system-specific drivers for hash acceleration
          as part of a VPL build.
 
-config VPL_I2C_SUPPORT
+config VPL_I2C
        bool "Support I2C in VPL"
-       default y if SPL_I2C_SUPPORT
+       default y if SPL_I2C
        help
-         Enable support for the I2C bus in VPL. Vee SPL_I2C_SUPPORT for
+         Enable support for the I2C bus in VPL. See SPL_I2C for
          details.
 
 config VPL_MMC
@@ -176,9 +176,9 @@ config VPL_MMC_WRITE
        help
          Enable write access to MMC and SD Cards in VPL
 
-config VPL_PCH_SUPPORT
+config VPL_PCH
        bool "Support PCH drivers"
-       default y if TPL_PCH_SUPPORT
+       default y if TPL_PCH
        help
          Enable support for PCH (Platform Controller Hub) devices in VPL.
          These are used to set up GPIOs and the SPI peripheral early in
-- 
2.50.1 (Apple Git-155)

Reply via email to