android_kernel_samsung_a7y1.../drivers/firmware
Thomas Tai 18b33406d2 iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
[ Upstream commit 94bccc34071094c165c79b515d21b63c78f7e968 ]

iscsi_ibft can use ACPI to find the iBFT entry during bootup,
currently, ISCSI_IBFT depends on ISCSI_IBFT_FIND which is
a X86 legacy way to find the iBFT by searching through the
low memory. This patch changes the dependency so that other
arch like ARM64 can use ISCSI_IBFT as long as the arch supports
ACPI.

ibft_init() needs to use the global variable ibft_addr declared
in iscsi_ibft_find.c. A #ifndef CONFIG_ISCSI_IBFT_FIND is needed
to declare the variable if CONFIG_ISCSI_IBFT_FIND is not selected.
Moving ibft_addr into the iscsi_ibft.c does not work because if
ISCSI_IBFT is selected as a module, the arch/x86/kernel/setup.c won't
be able to find the variable at compile time.

Signed-off-by: Thomas Tai <thomas.tai@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 20:38:38 +02:00
..
broadcom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
efi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
google A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arm_scpi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dcdbas.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dcdbas.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dell_rbu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dmi_scan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dmi-id.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dmi-sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
edd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iscsi_ibft_find.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
iscsi_ibft.c iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND 2020-04-06 20:38:38 +02:00
Kconfig iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND 2020-04-06 20:38:38 +02:00
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
memmap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcdp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcdp.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
psci.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom_scm-32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom_scm-64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom_scm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
qcom_scm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
raspberrypi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30