]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Move early malloc() to before arch_cpu_init()
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 01:00:18 +0000 (18:00 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:24:11 +0000 (07:24 +0100)
commit768e0f52f2d1a9d19842c8d1ded22a96b080a266
tree6a939287e24f31c79705862c9329366d88448faf
parent6cba6b9209723bde06251bd996fda4ffce705d3f
Move early malloc() to before arch_cpu_init()

For some CPUs, having malloc() available very early is useful. There is no
reason to delay this since early malloc is allocated before board_init_f()
is called.

Move early malloc() init nearer to the start of the init sequence.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/board_f.c