diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-10 11:19:45 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-20 12:27:24 -0500 |
commit | 6e7df1d151a7a127caf3b62ff6dfc003fc2aefcd (patch) | |
tree | ae38e9dcf468b2e4e58293561fae87895d9b549f /board/ti/omap3evm | |
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 <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/ti/omap3evm')
-rw-r--r-- | board/ti/omap3evm/evm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/omap3evm/evm.c b/board/ti/omap3evm/evm.c index a7f9a7eca1..a4d6a0138d 100644 --- a/board/ti/omap3evm/evm.c +++ b/board/ti/omap3evm/evm.c @@ -33,7 +33,7 @@ #define OMAP3EVM_GPIO_ETH_RST_GEN1 64 #define OMAP3EVM_GPIO_ETH_RST_GEN2 7 -#define CONFIG_SMC911X_BASE 0x2C000000 +#define CFG_SMC911X_BASE 0x2C000000 DECLARE_GLOBAL_DATA_PTR; @@ -54,7 +54,7 @@ static void omap3_evm_get_revision(void) unsigned int smsc_id; /* Ethernet PHY ID is stored at ID_REV register */ - smsc_id = readl(CONFIG_SMC911X_BASE + 0x50) & 0xFFFF0000; + smsc_id = readl(CFG_SMC911X_BASE + 0x50) & 0xFFFF0000; printf("Read back SMSC id 0x%x\n", smsc_id); switch (smsc_id) { |