x86: zimage: Avoid using #ifdef
authorSimon Glass <sjg@chromium.org>
Sat, 5 Sep 2020 20:50:39 +0000 (14:50 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:07 +0000 (11:27 +0800)
commit30b372d41984fe53c329dbc7c9f400bc23210173
treed736f858da1c60d3645cfa7880423255f90e4eb0
parente81483748835df1f45be73a84eb13ce9592f8300
x86: zimage: Avoid using #ifdef

Use IS_ENABLED() instead of #ifdef in this file.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/zimage.c