2018-08-27 10:29:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Configuration header file for K3 AM654 EVM
|
|
|
|
*
|
|
|
|
* Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
* Lokesh Vutla <lokeshvutla@ti.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_AM654_EVM_H
|
|
|
|
#define __CONFIG_AM654_EVM_H
|
|
|
|
|
|
|
|
#include <linux/sizes.h>
|
2018-08-27 10:29:07 +00:00
|
|
|
#include <environment/ti/mmc.h>
|
2019-09-04 10:31:44 +00:00
|
|
|
#include <environment/ti/k3_rproc.h>
|
2019-12-09 05:07:34 +00:00
|
|
|
#include <environment/ti/k3_dfu.h>
|
2018-08-27 10:29:06 +00:00
|
|
|
|
|
|
|
/* DDR Configuration */
|
2022-11-16 18:10:37 +00:00
|
|
|
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
2018-08-27 10:29:06 +00:00
|
|
|
|
2021-07-13 14:11:39 +00:00
|
|
|
#ifdef CONFIG_TARGET_AM654_A53_EVM
|
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
|
|
func(MMC, mmc, 1) \
|
|
|
|
func(MMC, mmc, 0)
|
|
|
|
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
#else
|
|
|
|
#define BOOTENV
|
|
|
|
#endif
|
|
|
|
|
2018-08-27 10:29:07 +00:00
|
|
|
/* Incorporate settings into the U-Boot environment */
|
2022-12-04 15:03:50 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
2021-07-13 14:11:39 +00:00
|
|
|
BOOTENV
|
2018-08-27 10:29:07 +00:00
|
|
|
|
2018-08-27 10:29:06 +00:00
|
|
|
/* Now for the remaining common defines */
|
|
|
|
#include <configs/ti_armv7_common.h>
|
|
|
|
|
|
|
|
#endif /* __CONFIG_AM654_EVM_H */
|