linux_dsm_epyc7002/arch/arm/mach-integrator
Linus Walleij 11f9323a48 ARM: integrator: fix OF-related regression
Commit 07e461cd7e
"of: Ensure unique names without sacrificing determinism"
caused a boot failure regression on the Integrator machines.

The problem is probably caused by fiddling too much with
the device tree population in the OF init function, such
as passing the SoC bus device as parent when populating
the device tree.

This patch fixes the problem by:

- Avoiding to explicitly look up the tree root
- Look up devices needed before device population from
  the match only, passing NULL as root
- Passing NULL as root and parent when calling
  of_platform_populate()

After this the Integrators boot again. Tested on
Integrator/AP and Integrator/CP.

Cc: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2014-06-24 14:27:03 +02:00
..
include/mach ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
cm.h ARM: integrator: move CM base into device tree 2013-10-16 14:09:56 +02:00
common.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
core.c ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
hardware.h ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
impd1.c ARM: integrator: fix section mismatch problem 2014-06-17 17:09:38 +02:00
impd1.h ARM: integrator: localize the impd1.h header 2014-02-26 13:49:06 +01:00
integrator_ap.c ARM: integrator: fix OF-related regression 2014-06-24 14:27:03 +02:00
integrator_cp.c ARM: integrator: fix OF-related regression 2014-06-24 14:27:03 +02:00
Kconfig ARM: integrator: fix section mismatch problem 2014-06-17 17:09:38 +02:00
leds.c ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
lm.c ARM: integrator: localize the lm.h header 2014-02-26 13:49:05 +01:00
lm.h ARM: integrator: localize the lm.h header 2014-02-26 13:49:05 +01:00
Makefile ARM: integrator: merge PCIv3 driver into one file 2013-06-03 08:04:30 +02:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pci_v3.c ARM: integrator: localize the hardware.h header 2014-02-26 13:49:07 +01:00
pci_v3.h ARM: mach-integrator: Add stub for pci_v3_early_init() for !CONFIG_PCI 2013-09-25 21:59:52 -07:00