From f9b2a49f57c153c7358f9769234c0cefdf4de8d4 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 13 Jul 2016 16:39:06 +0930 Subject: board/aspeed: Add ast-g5 board This adds a Aspeed fifth generation board with defconfigs for a system with NCSI and with a directly attached PHY configuration. Signed-off-by: Joel Stanley --- include/configs/ast-g5-ncsi.h | 29 +++++++++++++++++++++++++++++ include/configs/ast-g5-phy.h | 31 +++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 include/configs/ast-g5-ncsi.h create mode 100644 include/configs/ast-g5-phy.h (limited to 'include/configs') diff --git a/include/configs/ast-g5-ncsi.h b/include/configs/ast-g5-ncsi.h new file mode 100644 index 0000000000..f73a8f1150 --- /dev/null +++ b/include/configs/ast-g5-ncsi.h @@ -0,0 +1,29 @@ +/* + * Copyright 2016 IBM Corporation + * + * 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_CONFIG_H +#define __AST_G5_NCSI_CONFIG_H + +#define CONFIG_ARCH_AST2500 +#define CONFIG_SYS_LOAD_ADDR 0x83000000 + +#include + +/* 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 + +#endif /* __AST_G5_NCSI_CONFIG_H */ diff --git a/include/configs/ast-g5-phy.h b/include/configs/ast-g5-phy.h new file mode 100644 index 0000000000..9b10d06212 --- /dev/null +++ b/include/configs/ast-g5-phy.h @@ -0,0 +1,31 @@ +/* + * Copyright 2016 IBM Corporation + * + * 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_PHY_CONFIG_H +#define __AST_G5_PHY_CONFIG_H + +#define CONFIG_ARCH_AST2500 +#define CONFIG_SYS_LOAD_ADDR 0x83000000 + +#include + +/* arm1176/start.S */ +#define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE + +/* Ethernet */ +#define CONFIG_MAC_NUM 2 +#define CONFIG_FTGMAC100 +#define CONFIG_PHY_MAX_ADDR 32 +#define CONFIG_FTGMAC100_EGIGA + +/* platform.S */ +#define CONFIG_DRAM_ECC_SIZE 0x10000000 + +#endif /* __AST_G5_PHY_CONFIG_H */ -- cgit v1.2.1