arm64: kernel: remove non-legit DT warnings when booting using ACPI
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 23 Jul 2015 17:28:26 +0000 (18:28 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:41 +0000 (11:08 +0100)
commite094d44568680d4e5e2722c4ad090ff0810719b9
treeb0167152cd2a01d7a07a5a0dfea26d22be090bca
parent77ee306c0aea9a219daec256ad25982944affef8
arm64: kernel: remove non-legit DT warnings when booting using ACPI

Since both CONFIG_ACPI and CONFIG_OF are enabled when booting using ACPI
tables on ARM64 platforms, we get few device tree warnings which are not
valid for ACPI boot. We can use of_have_populated_dt to check if the
device tree is populated or not before throwing out those errors.

This patch uses of_have_populated_dt to remove non legitimate device
tree warning when booting using ACPI tables.

Cc: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/setup.c
arch/arm64/kernel/topology.c