aboutsummaryrefslogtreecommitdiff
path: root/cmd/fpga.c
diff options
context:
space:
mode:
authorTom Rini2019-05-23 07:14:07 -0400
committerTom Rini2019-07-11 14:11:18 -0400
commitc76c93a3d5a921152e27aa7adb3bbcf9ec4015e1 (patch)
tree65673aa7fad7d4a7ac97768d5a3837ff1affd82e /cmd/fpga.c
parent27eb177b393e19af9716a2fa4969cd7b26ac3dc2 (diff)
configs: Rename CONFIG_IMAGE_FORMAT_LEGACY to CONFIG_LEGACY_IMAGE_FORMAT
The name CONFIG_LEGACY_IMAGE_FORMAT reads slightly better along with allowing us to avoid a rather nasty Kbuild/Kconfig issue down the line with CONFIG_IS_ENABLED(IMAGE_FORMAT_LEGACY). In a few places outside of cmd/ switch to using CONFIG_IS_ENABLED() to test what is set. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/fpga.c')
-rw-r--r--cmd/fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fpga.c b/cmd/fpga.c
index b1f224bc6ad..bc48abdd6d8 100644
--- a/cmd/fpga.c
+++ b/cmd/fpga.c
@@ -280,7 +280,7 @@ static int do_fpga_loadmk(cmd_tbl_t *cmdtp, int flag, int argc,
}
switch (genimg_get_format(fpga_data)) {
-#if defined(CONFIG_IMAGE_FORMAT_LEGACY)
+#if defined(CONFIG_LEGACY_IMAGE_FORMAT)
case IMAGE_FORMAT_LEGACY:
{
image_header_t *hdr = (image_header_t *)fpga_data;