diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:49 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:26:51 -0500 |
commit | 4ab18a0ba6a5123b38b7d9f4af481da6349aba70 (patch) | |
tree | 86a4685dfa8c3d21237721f65dd2643010a69f22 /include/common.h | |
parent | 5e6267af31165cdc6d918fd8aff8ae12a30ec9f8 (diff) | |
download | u-boot-4ab18a0ba6a5123b38b7d9f4af481da6349aba70.tar.gz |
common: Move CONFIG_SYS_DEF_EEPROM_ADDR out of common.h
This define seems better suited to the eeprom header file, particularly
as it is only used in the eeprom.c file.
Move it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h index eb6dce4801..38736d3b22 100644 --- a/include/common.h +++ b/include/common.h @@ -87,10 +87,6 @@ const char *symbol_lookup(unsigned long addr, unsigned long *caddr); long get_ram_size (long *, long); phys_size_t get_effective_memsize(void); -#if !defined(CONFIG_ENV_EEPROM_IS_ON_I2C) && defined(CONFIG_SYS_I2C_EEPROM_ADDR) -# define CONFIG_SYS_DEF_EEPROM_ADDR CONFIG_SYS_I2C_EEPROM_ADDR -#endif - #if defined(CONFIG_SYS_DRAM_TEST) int testdram(void); #endif /* CONFIG_SYS_DRAM_TEST */ |