mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 10:13:57 +08:00
2449d33a40
As multiplatform build is being adopted by more and more ARM platforms, initcall function should be used very carefully. For example, when SPEAr cpufreq driver is enabled on a kernel booted on a non-SPEAr board, we will get following boot time error: spear_cpufreq: Invalid cpufreq_tbl To eliminate this undesired the effect, the patch changes SPEAr driver to have it instantiated as a platform_driver. Then it will only run on platforms that create the platform_device "spear-cpufreq". This patch also creates platform node for SPEAr13xx boards. Reported-by: Josh Cartwright <joshc@codeaurora.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
||
---|---|---|
.. | ||
include/mach | ||
generic.h | ||
headsmp.S | ||
hotplug.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot | ||
pl080.c | ||
pl080.h | ||
platsmp.c | ||
restart.c | ||
spear3xx.c | ||
spear6xx.c | ||
spear13xx.c | ||
spear300.c | ||
spear310.c | ||
spear320.c | ||
spear1310.c | ||
spear1340.c | ||
time.c |