On 9 September 2016 at 07:44, Paul Burton <paul.bur...@imgtec.com> wrote:
> 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.bur...@imgtec.com>
> Changes in v2:
> - Use a weak function, make it generic not MIPS-specific
> common/board_f.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: Simon Glass <s...@chromium.org>
U-Boot mailing list