diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2016-11-19 13:58:56 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-11-28 15:10:36 -0500 |
commit | 333ee16d042076669b36328dc06765a78c0676eb (patch) | |
tree | 4ca55137245f1542e1a8ea117fc31be82a9930f6 /board | |
parent | d0fc6dc5e9aecf133845ddf338657ac69db506ef (diff) | |
download | u-boot-imx-333ee16d042076669b36328dc06765a78c0676eb.zip u-boot-imx-333ee16d042076669b36328dc06765a78c0676eb.tar.gz u-boot-imx-333ee16d042076669b36328dc06765a78c0676eb.tar.bz2 |
tools/env: fix environment alignment tests for block devices
commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the
environment must start at an erase block boundary.
For block devices the sample fw_env.config does not mandate a erase block size
for block devices. A missing setting defaults to the full env size.
Depending on the environment location the alignment check now errors out for
perfectly legal settings.
Fix this by defaulting to the standard blocksize of 0x200 for environments
stored in a block device.
That keeps the fw_env.config files for block devices working even with that
new check.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions