diff options
author | Joel Stanley <joel@jms.id.au> | 2016-07-13 16:39:06 +0930 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2016-07-27 15:44:02 +0930 |
commit | f9b2a49f57c153c7358f9769234c0cefdf4de8d4 (patch) | |
tree | 4b8c68ec844541a8d065211330900bb5c226d428 /include | |
parent | 784c705b79b08b3c2c599766ea97ce7de3b32423 (diff) | |
download | talos-obmc-uboot-f9b2a49f57c153c7358f9769234c0cefdf4de8d4.tar.gz talos-obmc-uboot-f9b2a49f57c153c7358f9769234c0cefdf4de8d4.zip |
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 <joel@jms.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ast-g5-ncsi.h | 29 | ||||
-rw-r--r-- | include/configs/ast-g5-phy.h | 31 |
2 files changed, 60 insertions, 0 deletions
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 <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 + +#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 <configs/ast-common.h> + +/* 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 */ |