Files
u-boot-krane/include/configs/mx6sabreauto.h
T
Aristo ChenandFabio Estevam 8d21d74bdf mx6sabre: Move environment variables to .env files
Move the shared environment from CFG_EXTRA_ENV_SETTINGS in
mx6sabre_common.h to a common text environment fragment in
include/env/nxp/mx6sabre_common.env. The mx6sabresd and mx6sabreauto
board environments include this fragment and add their own console
setting, which is the only board specific difference between them. The
eMMC firmware update variables remain guarded by CONFIG_SUPPORT_EMMC_BOOT
inside the fragment. The now unused CONSOLE_DEV defines and the
linux/stringify.h include are dropped.

The generated default environment is unchanged for both boards. This was
verified by comparing the output of scripts/get_default_envs.sh before
and after the change, which produced identical results.

Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
2026-06-26 17:08:26 -03:00

34 lines
782 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2012 Freescale Semiconductor, Inc.
*
* Configuration settings for the Freescale i.MX6Q SabreAuto board.
*/
#ifndef __MX6SABREAUTO_CONFIG_H
#define __MX6SABREAUTO_CONFIG_H
#define CFG_MXC_UART_BASE UART4_BASE
#define CFG_SYS_I2C_PCA953X_WIDTH { {0x30, 8}, {0x32, 8}, {0x34, 8} }
#include "mx6sabre_common.h"
/* Falcon Mode */
#ifdef CONFIG_SPL_OS_BOOT
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
#endif
#ifdef CONFIG_MTD_NOR_FLASH
#define CFG_SYS_FLASH_BASE WEIM_ARB_BASE_ADDR
#endif
#define CFG_SYS_FSL_USDHC_NUM 2
/* NAND stuff */
#define CFG_SYS_NAND_BASE 0x40000000
/* DMA stuff, needed for GPMI/MXS NAND support */
#endif /* __MX6SABREAUTO_CONFIG_H */