blob: d165ead7bb4d1852c23ed7b542f0a23e529bf4f0 [file] [log] [blame]
Rosy Songbd905c32019-03-16 09:24:44 +08001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018 Rosy Song <rosysong@rosinson.com>
4 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
Rosy Songbd905c32019-03-16 09:24:44 +08009#define CONFIG_SYS_MHZ 375
10#define CONFIG_SYS_MIPS_TIMER_FREQ (CONFIG_SYS_MHZ * 1000000)
11
Rosy Songbd905c32019-03-16 09:24:44 +080012#define CONFIG_SYS_SDRAM_BASE 0x80000000
Rosy Songbd905c32019-03-16 09:24:44 +080013
14#define CONFIG_SYS_INIT_RAM_ADDR 0xbd000000
15#define CONFIG_SYS_INIT_RAM_SIZE 0x2000
Rosy Songbd905c32019-03-16 09:24:44 +080016
17/*
18 * Serial Port
19 */
20#define CONFIG_SYS_NS16550_CLK 25000000
Rosy Songbd905c32019-03-16 09:24:44 +080021
Rosy Songbd905c32019-03-16 09:24:44 +080022/* Miscellaneous configurable options */
23
24/*
25 * Diagnostics
26 */
Rosy Songbd905c32019-03-16 09:24:44 +080027
28#endif /* __CONFIG_H */