common/update: Finish Kconfig migration
authorTom Rini <trini@konsulko.com>
Tue, 10 Jan 2023 16:19:36 +0000 (11:19 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2023 17:27:06 +0000 (12:27 -0500)
commit2d1e2e5717669d91f527866465da81e0f9e65c32
tree8f7c777e413f5b9284345ea5756d323d67043501
parent6e73ab32d826d4baca78872dbbaabcf511728bed
common/update: Finish Kconfig migration

We can enforce the dependencies of this module via Kconfig now, so do so
rather than with #error statements. Further, we can ensure that all
required values are set to their defaults in Kconfig, and in fact
already do so, so remove the tests here. The exception is
CONFIG_UPDATE_LOAD_ADDR which needed to be migrated to Kconfig in the
first place.

Signed-off-by: Tom Rini <trini@konsulko.com>
common/Kconfig
common/update.c