blob: d50ec5f8a9f4b4c2136a53d3734f8177203f233a [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
20#define ASPEED_SRAM_SIZE 0x10000
Chia-Wei, Wang17cacab2020-08-03 17:36:08 +080021#else
22#err "Unrecognized Aspeed platform."
23#endif
24
25#endif