[PATCH u-boot v2016.07-aspeed-openbmc] Add ast-g5 ncsi 2nd boot config.

Mykola Kostenok c_mykolak at mellanox.com
Fri Jun 2 19:18:00 AEST 2017


Add ncsi 2nd boot aspeed g5 configuration header.
It based on ast-g5-ncsi.h extended with defines for memtest.

Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>
---
 include/configs/ast-g5-ncsi-2boot.h | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 include/configs/ast-g5-ncsi-2boot.h

diff --git a/include/configs/ast-g5-ncsi-2boot.h b/include/configs/ast-g5-ncsi-2boot.h
new file mode 100644
index 0000000000..8d4c960451
--- /dev/null
+++ b/include/configs/ast-g5-ncsi-2boot.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2017 Mellanox Technologies Ltd.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ */
+
+#ifndef __AST_G5_NCSI_2BOOT_CONFIG_H
+#define __AST_G5_NCSI_2BOOT_CONFIG_H
+
+#define CONFIG_ARCH_AST2500
+#define CONFIG_SYS_LOAD_ADDR		0x83000000
+
+#include <configs/ast-common.h>
+
+/* arm1176/start.S */
+#define CONFIG_SYS_UBOOT_BASE		CONFIG_SYS_TEXT_BASE
+
+/* Ethernet */
+#define CONFIG_LIB_RAND
+#define CONFIG_ASPEEDNIC
+
+/* platform.S settings */
+#define	CONFIG_DRAM_ECC_SIZE		0x10000000
+
+#define CONFIG_SYS_MEMTEST_SIZE	128 * 1024 * 1024 /* 128MB */
+#define CONFIG_SYS_MEMTEST_START	CONFIG_SYS_SDRAM_BASE
+#define CONFIG_SYS_MEMTEST_END	(CONFIG_SYS_MEMTEST_START + CONFIG_SYS_MEMTEST_SIZE)
+
+#endif	/* __AST_G5_NCSI_2BOOT_CONFIG_H */
-- 
2.11.0



More information about the openbmc mailing list