]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: cpu: i386: cpu: only set pci_ram_top if CONFIG_IS_ENABLED(PCI)
authorTroy Kisky <troykiskyboundary@gmail.com>
Mon, 13 Mar 2023 21:31:43 +0000 (14:31 -0700)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:03:46 +0000 (06:03 +0800)
commit5c39f2c150612e04c0534348cc71e93e43026cf0
tree9077341986a6863a0df2cf23d35cbd956f9281a1
parent5d2fae79c7d60eaf7f50322e4ec125d2f58544e9
x86: cpu: i386: cpu: only set pci_ram_top if CONFIG_IS_ENABLED(PCI)

This avoids an error when ifdef CONFIG_PCI is changed to
if CONFIG_IS_ENABLED(PCI)

Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com>
[Rebased on top of u-boot/master]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/i386/cpu.c
include/asm-generic/global_data.h