smart-gateway-mt7688: Rework build time check for overwriting factory data
authorTom Rini <trini@konsulko.com>
Tue, 19 Nov 2019 01:02:06 +0000 (20:02 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 20 Nov 2019 23:31:23 +0000 (18:31 -0500)
commit3eee45d93681a9c6bb67b73068da4dc179ae4e7f
tree78b47da60bb833d5860333f2151f27a9ea4330ef
parentad38de2093035e07a09d6995a90a0d28fac75a95
smart-gateway-mt7688: Rework build time check for overwriting factory data

The board file has a build time check to ensure that we do not have the
redundant environment overwriting the factory data.  However, using the
symbol CONFIG_ENV_SIZE_REDUND isn't strictly needed as that is always
the same as CONFIG_ENV_SIZE.  Use CONFIG_ENV_SIZE instead so that we can
later drop CONFIG_ENV_SIZE_REDUND.

Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/gardena/smart-gateway-mt7688/board.c