summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3131/src/up_boot.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-02 20:52:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-02 20:52:55 +0000
commitb6cb65fb09dcc2dd447fabb2887b147a26797e6c (patch)
treea0454230a01dd2f529250d561fc19cf6043e8381 /nuttx/configs/ea3131/src/up_boot.c
parente6c9c298cdac89f361b9c86a3cf62b7439bd9e73 (diff)
downloadpx4-nuttx-b6cb65fb09dcc2dd447fabb2887b147a26797e6c.tar.gz
px4-nuttx-b6cb65fb09dcc2dd447fabb2887b147a26797e6c.tar.bz2
px4-nuttx-b6cb65fb09dcc2dd447fabb2887b147a26797e6c.zip
Add paging initialization point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2911 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ea3131/src/up_boot.c')
-rwxr-xr-xnuttx/configs/ea3131/src/up_boot.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/configs/ea3131/src/up_boot.c b/nuttx/configs/ea3131/src/up_boot.c
index fc37a7ea9..59ed9e778 100755
--- a/nuttx/configs/ea3131/src/up_boot.c
+++ b/nuttx/configs/ea3131/src/up_boot.c
@@ -107,4 +107,13 @@ void lpc313x_boardinitialize(void)
#ifdef CONFIG_ARCH_LEDS
up_ledinit();
#endif
+
+ /* Set up mass storage device to support on demand paging */
+
+#if defined(CONFIG_PAGING)
+ if (lpc313x_pginitialize)
+ {
+ lpc313x_pginitialize();
+ }
+#endif
}