1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright (C) ASPEED Technology Inc. 4 * Ryan Chen <ryan_chen@aspeedtech.com> 5 * 6 */ 7 8 #ifndef _ASM_ARCH_PLATFORM_H 9 #define _ASM_ARCH_PLATFORM_H 10 11 #if defined(CONFIG_ASPEED_AST2500) 12 #define ASPEED_MAC_COUNT 2 13 #define ASPEED_DRAM_BASE 0x80000000 14 #define ASPEED_SRAM_BASE 0x1e720000 15 #define ASPEED_SRAM_SIZE 0x9000 16 #elif defined(CONFIG_ASPEED_AST2600) 17 #define ASPEED_MAC_COUNT 4 18 #define ASPEED_DRAM_BASE 0x80000000 19 #define ASPEED_SRAM_BASE 0x10000000 20 #define ASPEED_SRAM_SIZE 0x10000 21 #else 22 #err "Unrecognized Aspeed platform." 23 #endif 24 25 #endif 26