Skip to content
Snippets Groups Projects
Commit e996bc33 authored by Jason McMullan's avatar Jason McMullan Committed by Shinya Kuribayashi
Browse files

[MIPS] lib_mips/board.c: Add nand_init


This patch adds the standard 'nand_init()' call to the mips generic
'board_init_r()' call, bringing MIPS in line with the other architectures.

Signed-off-by: default avatarJason McMullan <mcmullan@netapp.com>
Signed-off-by: default avatarShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
parent 1f155484
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <version.h> #include <version.h>
#include <net.h> #include <net.h>
#include <environment.h> #include <environment.h>
#include <nand.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
...@@ -416,6 +417,11 @@ void board_init_r (gd_t *id, ulong dest_addr) ...@@ -416,6 +417,11 @@ void board_init_r (gd_t *id, ulong dest_addr)
} }
#endif #endif
#ifdef CONFIG_CMD_NAND
puts ("NAND: ");
nand_init (); /* go init the NAND */
#endif
#if defined(CONFIG_MISC_INIT_R) #if defined(CONFIG_MISC_INIT_R)
/* miscellaneous platform dependent initialisations */ /* miscellaneous platform dependent initialisations */
misc_init_r (); misc_init_r ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment