arch: Move iob_initialize into nx_start just after heap initialization

it doesn't make sense that iob initialization is in up_initialize
but other memory components initialization is called in nx_start

Change-Id: Id43aeaa995f340c5943f59a0067a483ff3ac34a2
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-02-18 01:08:08 +08:00
committed by Alan Carvalho de Assis
parent a5c15c1098
commit 6b77f73583
15 changed files with 7 additions and 98 deletions
-7
View File
@@ -44,7 +44,6 @@
#include <nuttx/arch.h>
#include <nuttx/sched_note.h>
#include <nuttx/mm/iob.h>
#include <nuttx/drivers/drivers.h>
#include <nuttx/fs/loop.h>
#include <nuttx/net/loopback.h>
@@ -75,12 +74,6 @@ void up_initialize(void)
rpmsg_serialinit();
#endif
#ifdef CONFIG_MM_IOB
/* Initialize IO buffering */
iob_initialize();
#endif
#if 0 /* REVISIT */
/* Initialize the network cores */
@@ -44,7 +44,6 @@
#include <nuttx/arch.h>
#include <nuttx/sched_note.h>
#include <nuttx/mm/iob.h>
#include <nuttx/drivers/drivers.h>
#include <nuttx/fs/loop.h>
#include <nuttx/net/loopback.h>
@@ -75,12 +74,6 @@ void up_initialize(void)
rpmsg_serialinit();
#endif
#ifdef CONFIG_MM_IOB
/* Initialize IO buffering */
iob_initialize();
#endif
/* Initialize the network cores */
#ifdef CONFIG_MISOC_ETHERNET