hw23: Move uboot environnement below first partition

First partition (root) starts at 64k.
Writing the environnement at this place breaks it.
64k is now the top boundary of the environnement.

BugzID: 57825
This commit is contained in:
Alexandre Bard 2019-07-09 16:07:20 +02:00
parent 74585ec488
commit 0fbd99d1de
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@
#define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE
#define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
#else
#define CONFIG_ENV_OFFSET (64 * SZ_64K)
#define CONFIG_ENV_OFFSET (64 * SZ_64K - CONFIG_ENV_SIZE)
#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
#endif