u-boot-brain/env
Rasmus Villemoes 46d9d1c306 env: make file-scope env_ptr variables static
The combination ENV_IS_IN_NVRAM=y, ENV_IS_IN_REMOTE=y fails to build:

env/remote.o:/mnt/ext4/devel/u-boot/env/remote.c:17: multiple definition of `env_ptr'
env/nvram.o:/mnt/ext4/devel/u-boot/env/nvram.c:41: first defined here

It's not necessarily a meaningful combination, but for build-testing
it's nice to be able to enable most ENV_IS_IN_* at the same time, and
since these env_ptr are not declared anywhere, they really have no
reason to have external linkage.

nand.c and flash.c similarly already define file-scope static env_ptr
variables.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2020-04-17 12:29:43 -04:00
..
attr.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
callback.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
common.c common: Move sorting functions to their own header file 2019-12-02 18:23:08 -05:00
eeprom.c common: Move old EEPROM functions into a new header 2019-12-02 18:25:25 -05:00
embedded.c env: Finish migration of common ENV options 2019-11-20 18:32:09 -05:00
env.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
ext4.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
fat.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
flags.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
flash.c common: Move flash_perror() to flash.h 2020-01-17 13:26:48 -05:00
Kconfig env: Make mmc as default option for CONFIG_ENV_FAT_INTERFACE 2020-04-06 12:52:45 +02:00
Makefile env: another attempt at fixing SPL build failures 2020-01-22 17:47:56 -05:00
mmc.c env: Update env_addr for mmc environment driver 2020-03-09 18:11:24 -05:00
nand.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
nowhere.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
nvram.c env: make file-scope env_ptr variables static 2020-04-17 12:29:43 -04:00
onenand.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00
remote.c env: make file-scope env_ptr variables static 2020-04-17 12:29:43 -04:00
sata.c env: Remove useless CONFIG_ENV_SIZE_REDUND and fix ENV_IS_REDUND check 2019-11-20 18:31:24 -05:00
sf.c crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
ubi.c env: Rename environment.h to env_internal.h 2019-08-11 19:27:31 -04:00