]> git.sur5r.net Git - u-boot/blob - arch/x86/include/asm/arch-quark/quark.h
x86: quark: Add Memory Reference Code (MRC) main routines
[u-boot] / arch / x86 / include / asm / arch-quark / quark.h
1 /*
2  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef _QUARK_H_
8 #define _QUARK_H_
9
10 /* Message Bus Ports */
11 #define MSG_PORT_MEM_ARBITER    0x00
12 #define MSG_PORT_HOST_BRIDGE    0x03
13 #define MSG_PORT_RMU            0x04
14 #define MSG_PORT_MEM_MGR        0x05
15 #define MSG_PORT_SOC_UNIT       0x31
16
17 /* Host Memory I/O Boundary */
18 #define HM_BOUND                0x08
19
20 /* eSRAM Block Page Control */
21 #define ESRAM_BLK_CTRL          0x82
22 #define ESRAM_BLOCK_MODE        0x10000000
23
24 /* DRAM */
25 #define DRAM_BASE               0x00000000
26 #define DRAM_MAX_SIZE           0x80000000
27
28 /* eSRAM */
29 #define ESRAM_SIZE              0x80000
30
31 /* Memory BAR Enable */
32 #define MEM_BAR_EN              0x00000001
33
34 /* I/O BAR Enable */
35 #define IO_BAR_EN               0x80000000
36
37 /* 64KiB of RMU binary in flash */
38 #define RMU_BINARY_SIZE         0x10000
39
40 #endif /* _QUARK_H_ */