nds32: Enable the function of passing parameters to Linux
Add a header file, setup.h, which copy from Linux source code,
this file contain structures are used to pass initialisation parameters
to Linux. Enable this function on adp-ag101/adp-ag101p target
Signed-off-by: Kuan-Yu Kuo <ken.kuoky@gmail.com>
Cc: Macpaul Lin <macpaul@gmail.com>
diff --git a/include/common.h b/include/common.h
index e5220cf..e254c52 100644
--- a/include/common.h
+++ b/include/common.h
@@ -421,6 +421,7 @@
#endif
#ifdef CONFIG_NDS32
# include <asm/mach-types.h>
+# include <asm/setup.h>
# include <asm/u-boot-nds32.h>
#endif /* CONFIG_NDS32 */
#ifdef CONFIG_MIPS