summaryrefslogtreecommitdiffstats
path: root/include/configs/beaver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/beaver.h')
-rw-r--r--include/configs/beaver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/beaver.h b/include/configs/beaver.h
index 165de13753..628d5d3db1 100644
--- a/include/configs/beaver.h
+++ b/include/configs/beaver.h
@@ -56,7 +56,7 @@
/* Environment in eMMC, at the end of 2nd "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_ENV_OFFSET ((1024 * 1024) - CONFIG_ENV_SIZE)
+#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
#define CONFIG_SYS_MMC_ENV_DEV 0
#define CONFIG_SYS_MMC_ENV_PART 2
OpenPOWER on IntegriCloud