blob: 589abd4a3f6fd95d1421e893d9710697412bb5c8 [file] [log] [blame]
Chia-Wei, Wang17cacab2020-08-03 17:36:08 +08001/* 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
Chia-Wei, Wang8f7f4902020-12-14 13:54:28 +080016#elif defined(CONFIG_ASPEED_AST2600)
17#define ASPEED_MAC_COUNT 4
18#define ASPEED_DRAM_BASE 0x80000000
19#define ASPEED_SRAM_BASE 0x10000000
Chia-Wei Wang809b5fc2021-10-27 14:17:25 +080020#define ASPEED_SRAM_SIZE 0x16000
Chia-Wei, Wang17cacab2020-08-03 17:36:08 +080021#else
22#err "Unrecognized Aspeed platform."
23#endif
24
25#endif