commit | cfcb8868d20cab5af46000430250b90bc29f6359 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Nov 10 18:00:18 2014 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Nov 21 07:24:11 2014 +0100 |
tree | 6a939287e24f31c79705862c9329366d88448faf | |
parent | 14a89a9ba77e4b465812ea42802a1aad5ced4715 [diff] |
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>