]> git.dujemihanovic.xyz Git - u-boot.git/commit
global_data: Remove environment members if not used
authorSimon Glass <sjg@chromium.org>
Wed, 21 Aug 2024 16:19:25 +0000 (10:19 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 26 Aug 2024 20:06:08 +0000 (14:06 -0600)
commit66ca5b78640578d6176031b3cc1018dc4e550dd3
tree9ea8c5d1803c7c8ad48e1db03b2965912d5cc30b
parentd9902107027a41fc6a27b10f6e030c5a2465936b
global_data: Remove environment members if not used

If the environment is not enabled we don't need these fields in
global_data. Make them conditional.

Make these fields conditional. Move env_buf up one so it can share
an #ifdef.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/hwconfig.c
include/asm-generic/global_data.h
lib/asm-offsets.c