Home
last modified time | relevance | path

Searched hist:"23869 bf80b68af9ef1802b9e556f4fd0e9e57fe5" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/tools/env/
H A Dfw_env.config23869bf80b68af9ef1802b9e556f4fd0e9e57fe5 Fri Mar 07 04:48:22 UTC 2014 Dustin Byford <dustin@cumulusnetworks.com> fw_env: calculate default number of env sectors

The assumed number of environment sectors (always 1) leads to an
incorrect top_of_range calculation in fw.env.c when a flash device has
an erase block size smaller than the environment data size (number of
environment sectors > 1).

This change updates the default number of environment sectors to at
least cover the size of the environment.

Also corrected a false statement about the number of sectors column in
fw_env.config.

Signed-off-by: Dustin Byford <dustin@cumulusnetworks.com>
H A Dfw_env.c23869bf80b68af9ef1802b9e556f4fd0e9e57fe5 Fri Mar 07 04:48:22 UTC 2014 Dustin Byford <dustin@cumulusnetworks.com> fw_env: calculate default number of env sectors

The assumed number of environment sectors (always 1) leads to an
incorrect top_of_range calculation in fw.env.c when a flash device has
an erase block size smaller than the environment data size (number of
environment sectors > 1).

This change updates the default number of environment sectors to at
least cover the size of the environment.

Also corrected a false statement about the number of sectors column in
fw_env.config.

Signed-off-by: Dustin Byford <dustin@cumulusnetworks.com>