]> git.baikalelectronics.ru Git - uboot.git/commit
x86: fsp: Use if() instead of #ifdef
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:27 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:53:48 +0000 (13:53 +0800)
commite725d3ef7cc1a2f4e9409d2fa4233ae7b919ccbd
tree85b8b232b0ad15af5cd819d329d57b2d334c6265
parent47bade063e1adc70f8ed081ba230df6e8e890dab
x86: fsp: Use if() instead of #ifdef

Update a few #ifdefs to if() to improve build coverage.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: recover the codes that got wrongly deleted in dram_init()]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/fsp1/fsp_common.c
arch/x86/lib/fsp1/fsp_dram.c