blob: 3ada21cbba1245cacd9039bdfaab5ad9a09b9ac3 [file] [log] [blame]
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
Abdellatif El Khlifi48280c92023-10-26 13:50:50 +01003 * Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +01004 * (C) Copyright 2022 Linaro
5 * Rui Miguel Silva <rui.silva@linaro.org>
6 * Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
7 *
8 * Configuration for Corstone1000. Parts were derived from other ARM
9 * configurations.
10 */
11
12#ifndef __CORSTONE1000_H
13#define __CORSTONE1000_H
14
15#include <linux/sizes.h>
16
17#define V2M_BASE 0x80000000
18
Tom Rini5c896ae2022-12-04 10:13:30 -050019#define CFG_PL011_CLOCK 50000000
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +010020
21/* Physical Memory Map */
22#define PHYS_SDRAM_1 (V2M_BASE)
23#define PHYS_SDRAM_1_SIZE 0x80000000
24
Tom Rinibb4dd962022-11-16 13:10:37 -050025#define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +010026
Rui Miguel Silva241bb782022-06-29 11:06:16 +010027#define BOOT_TARGET_DEVICES(func) \
28 func(USB, usb, 0)
29
30#include <config_distro_bootcmd.h>
31
Abdellatif El Khlifi48280c92023-10-26 13:50:50 +010032#define CFG_EXTRA_ENV_SETTINGS BOOTENV
Rui Miguel Silva241bb782022-06-29 11:06:16 +010033
Rui Miguel Silvaee0fec72022-05-11 10:55:41 +010034#endif