mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
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:
committed by
Alan Carvalho de Assis
parent
a5c15c1098
commit
6b77f73583
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user