diff options
| author | Tom Rini <[email protected]> | 2023-01-10 11:19:45 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-20 12:27:24 -0500 |
| commit | 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd (patch) | |
| tree | ae38e9dcf468b2e4e58293561fae87895d9b549f /board/compulab | |
| parent | ad242344681f6a0076a6bf100aa83ac9ecbea355 (diff) | |
global: Finish CONFIG -> CFG migration
At this point, the remaining places where we have a symbol that is
defined as CONFIG_... are in fairly odd locations. While as much dead
code has been removed as possible, some of these locations are simply
less obvious at first. In other cases, this code is used, but was
defined in such a way as to have been missed by earlier checks. Perform
a rename of all such remaining symbols to be CFG_... rather than
CONFIG_...
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'board/compulab')
| -rw-r--r-- | board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c b/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c index 4dbd847d42a..90cc33a6e46 100644 --- a/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c +++ b/board/compulab/imx8mm-cl-iot-gate/eeprom_spl.c @@ -12,7 +12,7 @@ #ifdef CONFIG_SPL_BUILD -#define CONFIG_SYS_I2C_EEPROM_ADDR_P1 0x51 +#define CFG_SYS_I2C_EEPROM_ADDR_P1 0x51 static iomux_v3_cfg_t const eeprom_pads[] = { IMX8MQ_PAD_GPIO1_IO13__GPIO1_IO13 | MUX_PAD_CTRL(NO_PAD_CTRL), @@ -40,7 +40,7 @@ static int cl_eeprom_read(uint offset, uchar *buf, int len) struct udevice *dev; int ret; - ret = i2c_get_chip_for_busnum(1, CONFIG_SYS_I2C_EEPROM_ADDR_P1, + ret = i2c_get_chip_for_busnum(1, CFG_SYS_I2C_EEPROM_ADDR_P1, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, &dev); if (ret) { printf("%s: Cannot find EEPROM: %d\n", __func__, ret); @@ -57,7 +57,7 @@ static int cl_eeprom_write(uint offset, uchar *buf, int len) cl_eeprom_we(1); - ret = i2c_get_chip_for_busnum(1, CONFIG_SYS_I2C_EEPROM_ADDR_P1, + ret = i2c_get_chip_for_busnum(1, CFG_SYS_I2C_EEPROM_ADDR_P1, CONFIG_SYS_I2C_EEPROM_ADDR_LEN, &dev); if (ret) { printf("%s: Cannot find EEPROM: %d\n", __func__, ret); |
