Simon Glass 9d8665b709 i2c: Convert CONFIG_POWER_I2C et al to Kconfig
This converts the following to Kconfig:
   CONFIG_POWER_I2C
   CONFIG_POWER_LEGACY

They are handled at the same time due to a dependency between them.
Update the Makefile rule to use legacy power only in U-Boot proper.
Unfortunately a separate rule is needed in SPL to be able to build
legacy power.  Add SPL related symbols for both, to allow for SPL-only
usage.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
[trini: More SPL related cleanups, reword commit message]
Signed-off-by: Tom Rini <trini@konsulko.com>
2021-09-04 12:26:02 -04:00
..

U-Boot for the TQ Systems TQMa6 modules

This file contains information for the port of
U-Boot to the TQ Systems TQMa6 modules.

1. Boot source
--------------

The following boot source is supported:

- SD/eMMC
- SPI NOR

2. Building
------------

To build U-Boot for the TQ Systems TQMa6 modules:

	make tqma6<x>_<baseboard>_<boot>_config
	make

x is a placeholder for the CPU variant
q - means i.MX6Q/D: TQMa6Q (i.MX6Q) and TQMa6D  (i.MX6D)
dl - means i.MX6DL: TQMa6DL  (i.MX6DL)
s - means i.MX6S: TQMa6S  (i.MX6S)

baseboard is a placeholder for the boot device
mmc - means eMMC
spi - mean SPI NOR

This gives the following configurations:

tqma6q_mba6_mmc_config
tqma6q_mba6_spi_config
tqma6dl_mba6_mmc_config
tqma6dl_mba6_spi_config
tqma6s_mba6_mmc_config
tqma6s_mba6_spi_config