rockchip: puma-rk3399: enforce ENV_IS_NOWHERE with Kconfig select
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Wed, 1 Mar 2023 17:31:14 +0000 (18:31 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Apr 2023 07:16:00 +0000 (15:16 +0800)
commit6a89465f3f298d2f71ee59456de7436b0d0ae033
treef16e077c1eb5876119baa894b7bd787ec32ffb11
parent7786710adb76720be8e693c4efcea039af7ae086
rockchip: puma-rk3399: enforce ENV_IS_NOWHERE with Kconfig select

Instead of letting the compiler error out if CONFIG_ENV_IS_NOWHERE is
not selected by the user, let's just enforce it when the user builds for
Puma RK3399 so that no check needs to be performed by the compiler and
the configuration is always valid.

Suggested-by: Tom Rini <trini@konsulko.com>
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/theobroma-systems/puma_rk3399/Kconfig
board/theobroma-systems/puma_rk3399/puma-rk3399.c
configs/puma-rk3399_defconfig