]> git.baikalelectronics.ru Git - uboot.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)
commit8fd6ecaf5561d83b229394f261337cae6fbebacb
treea8dac4afdf525294bae7e83a6a0cbbb529b8c66f
parent24e9f9b77091e6e3275396e1b85da4697e2427d4
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