[U-Boot] ARM: PSCI: Rework the DT handler slightly
Tom Rini
trini at konsulko.com
Mon Mar 9 17:47:24 CET 2015
On Thu, Mar 05, 2015 at 08:19:36PM -0500, Tom Rini wrote:
> The way the PSCI DT update happens currently means we pull in
> <asm/armv7.h> everywhere, including on ARMv8 and that in turn brings in
> <asm/io.h> for some non-PSCI related things that header needs to deal
> with.
>
> To fix this, we rework the hook slightly. A good portion of
> arch/arm/cpu/armv7/virt-dt.c is common looking and I hope that when PSCI
> is needed on ARMv8 we can re-use this by and large. So rename the
> current hook to psci_update_dt(), move the prototype to <asm/psci.h> and
> add an #ifdef that will make re-use later easier.
>
> Reported-by: York Sun <yorksun at freescale.com>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Cc: York Sun <yorksun at freescale.com>
> Cc: Ian Campbell <ijc at hellion.org.uk>
> Cc: Hans de Goede <hdegoede at redhat.com>
> Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Acked-by: York Sun <yorksun at freescale.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150309/cb9ef363/attachment.sig>
More information about the U-Boot
mailing list