]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Use if instead of #ifdef in write_tables()
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:24 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 5 Nov 2020 06:58:45 +0000 (14:58 +0800)
commitf36e4c7d8059a3bb03bb172bf87ebefd7a95bd56
treea8dac4afdf525294bae7e83a6a0cbbb529b8c66f
parentcac9c6a38f7828ae049c9c38af4a6d1d6d8e12d7
x86: Use if instead of #ifdef in write_tables()

Use if() to remove the extra build path in this code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/tables.c