blob: 33172a6b97a941dc4df39a6f77fd3b3bda846849 [file] [log] [blame]
Shawn Guoec907a02019-07-07 20:59:55 +08001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019 Linaro Ltd.
4 * Copyright (C) 2016 NXP Semiconductors
5 *
6 * Configuration settings for Meerkat96 board.
7 */
8
9#ifndef __MEERKAT96_CONFIG_H
10#define __MEERKAT96_CONFIG_H
11
12#include "mx7_common.h"
13#include <imximage.h>
14
15#define PHYS_SDRAM_SIZE SZ_512M
16
17/* Size of malloc() pool */
18#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
19
Shawn Guoec907a02019-07-07 20:59:55 +080020#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
21#define CONFIG_SYS_HZ 1000
22
23/* Physical Memory Map */
24#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
25
26#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
27#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
28#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
29
30#define CONFIG_SYS_INIT_SP_OFFSET \
31 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
32#define CONFIG_SYS_INIT_SP_ADDR \
33 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
34
35/* Environment configs */
36#define CONFIG_SYS_MMC_ENV_DEV 0
37#define CONFIG_SYS_MMC_ENV_PART 0
Shawn Guoec907a02019-07-07 20:59:55 +080038
39/* USB configs */
40#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
41#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
42
43#endif