blob: c54957300a6d9cd09b1a6f94d876b3a8403b3a1d [file] [log] [blame]
Lokesh Vutla029f9212018-08-27 15:59:06 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration header file for K3 AM654 EVM
4 *
5 * Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
6 * Lokesh Vutla <lokeshvutla@ti.com>
7 */
8
9#ifndef __CONFIG_AM654_EVM_H
10#define __CONFIG_AM654_EVM_H
11
12#include <linux/sizes.h>
Andreas Dannenbergc4fc2cc2018-08-27 15:59:07 +053013#include <environment/ti/mmc.h>
Suman Anna96b3d762019-09-04 16:01:44 +053014#include <environment/ti/k3_rproc.h>
Vignesh Raghavendrafa286012019-12-09 10:37:34 +053015#include <environment/ti/k3_dfu.h>
Lokesh Vutla029f9212018-08-27 15:59:06 +053016
Lokesh Vutla029f9212018-08-27 15:59:06 +053017/* DDR Configuration */
Tom Rinibb4dd962022-11-16 13:10:37 -050018#define CFG_SYS_SDRAM_BASE1 0x880000000
Lokesh Vutla029f9212018-08-27 15:59:06 +053019
Tom Rini6e410d32021-07-13 10:11:39 -040020#ifdef CONFIG_TARGET_AM654_A53_EVM
21#define BOOT_TARGET_DEVICES(func) \
22 func(MMC, mmc, 1) \
23 func(MMC, mmc, 0)
24
25#include <config_distro_bootcmd.h>
26#else
27#define BOOTENV
28#endif
29
Andreas Dannenbergc4fc2cc2018-08-27 15:59:07 +053030/* Incorporate settings into the U-Boot environment */
Tom Rinic9edebe2022-12-04 10:03:50 -050031#define CFG_EXTRA_ENV_SETTINGS \
Tom Rini6e410d32021-07-13 10:11:39 -040032 BOOTENV
Andreas Dannenbergc4fc2cc2018-08-27 15:59:07 +053033
Lokesh Vutla029f9212018-08-27 15:59:06 +053034/* Now for the remaining common defines */
35#include <configs/ti_armv7_common.h>
36
37#endif /* __CONFIG_AM654_EVM_H */