environment: Do not use environment when overlapping with other partitions
Environment partitions are usually specified with their hardcoded offset
and size, either in the device tree or the board file. These partitions
potentially overlap with other partitions read from the partition table.
Overlapping partitions for sure have bad effects. Be more friendly to our
users and warn them when such a situation occurs and stop using that
partition for storing the environment.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c6bdbf6 commit b234a6da331fa9ec656f2d278adafdeea45f9073
@Sascha Hauer Sascha Hauer authored on 21 Sep 2018
Showing 2 changed files
View
common/startup.c
View
include/common.h