diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-09-21 11:18:46 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-09-21 15:04:04 +0200 |
commit | 8ebf50692ee9694e1b4baa61228376e83c0e106e (patch) | |
tree | 78ceb733c3632de9ebef40349f888dee9f18a25f /arch | |
parent | ebf2b9e3dff089a9c99e5dc8d7e10b06365e4e46 (diff) | |
download | u-boot-imx-8ebf50692ee9694e1b4baa61228376e83c0e106e.zip u-boot-imx-8ebf50692ee9694e1b4baa61228376e83c0e106e.tar.gz u-boot-imx-8ebf50692ee9694e1b4baa61228376e83c0e106e.tar.bz2 |
board_f: Add a mach_cpu_init callback
Currently we have a mismash of architectures which use arch_cpu_init
from architecture-wide code (arc, avr32, blackfin, mips, nios2, xtensa)
and architectures which use arch_cpu_init from machine/SoC level code
(arm, x86).
In order to clean this mess up & allow for both use cases, introduce a
new mach_cpu_init callback which is run immediately after arch_cpu_init.
This will allow for architectures to have arch-wide code without needing
individual machines to all implement their own arch_cpu_init with a call
to some common function.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions