summaryrefslogtreecommitdiff
path: root/cmd/source.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-11-10 11:48:59 +0100
committerTom Rini <trini@konsulko.com>2023-01-10 12:37:09 -0500
commit46c9016b7f794ce8761e12b4b971be061dd861a3 (patch)
tree5a5f8f8574cd4be1017c44a884467804a26a86c3 /cmd/source.c
parentf7e07a7ef4734fb3c5b3e6636f2679b6321f58d2 (diff)
env: mcc: Drop unnecessary #ifdefs
This file has a lot of conditional code and much of it is unnecessary. Clean this up to reduce the number of build combinations. This patch replaces the test on CONFIG_ENV_OFFSET_REDUND for the more coherent CONFIG_SYS_REDUNDAND_ENVIRONMENT. This patch also corrects a compilation issue in init_mmc_for_env() when CONFIG_SYS_MMC_ENV_PART is not activated, env_mmc_orig_hwpart is not defined. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'cmd/source.c')
0 files changed, 0 insertions, 0 deletions