Skip to content
Snippets Groups Projects
Commit 034afbcc authored by David du Colombier's avatar David du Colombier Committed by Lukasz Majewski
Browse files

env_onenand: set ONENAND_MAX_ENV_SIZE to CONFIG_ENV_SIZE


This fix prevents env_import() CRC to fail when CONFIG_ENV_SIZE
is not equal to 4096 bytes
It also prevents mtd->read and mtd->write to be incomplete when
the environment is larger than 4096 bytes.

Signed-off-by: default avatarDavid du Colombier <0intro@gmail.com>
parent 56249fea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment