sandbox: Fix registering file/fifo consoles
barebox_register_console() uses xzalloc which requires the malloc pool
to be initialized, so call it during the second option parsing when
this is already done.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a8de37d commit 8e5a534df784ab91ffde55ed5038e66e8dbb36c8
@Sascha Hauer Sascha Hauer authored on 1 Jun 2017
Showing 1 changed file
View
arch/sandbox/os/common.c