mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 14:56:03 +00:00
lx2160: Correct default environment variable
Create separate "boot_scripts" and "boot_script_hdr" environment variable for LX2160A RDB and QDS board. Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
f0d4cd4307
commit
69b3894e6f
3 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||||
/*
|
/*
|
||||||
* Copyright 2018-2019 NXP
|
* Copyright 2018-2020 NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __LX2_COMMON_H
|
#ifndef __LX2_COMMON_H
|
||||||
|
@ -229,8 +229,6 @@ unsigned long get_board_ddr_clk(void);
|
||||||
BOOTENV \
|
BOOTENV \
|
||||||
"mcmemsize=0x70000000\0" \
|
"mcmemsize=0x70000000\0" \
|
||||||
XSPI_MC_INIT_CMD \
|
XSPI_MC_INIT_CMD \
|
||||||
"boot_scripts=lx2160ardb_boot.scr\0" \
|
|
||||||
"boot_script_hdr=hdr_lx2160ardb_bs.out\0" \
|
|
||||||
"scan_dev_for_boot_part=" \
|
"scan_dev_for_boot_part=" \
|
||||||
"part list ${devtype} ${devnum} devplist; " \
|
"part list ${devtype} ${devnum} devplist; " \
|
||||||
"env exists devplist || setenv devplist 1; " \
|
"env exists devplist || setenv devplist 1; " \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||||
/*
|
/*
|
||||||
* Copyright 2018-2019 NXP
|
* Copyright 2018-2020 NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __LX2_QDS_H
|
#ifndef __LX2_QDS_H
|
||||||
|
@ -120,6 +120,8 @@ u8 qixis_esdhc_detect_quirk(void);
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
EXTRA_ENV_SETTINGS \
|
EXTRA_ENV_SETTINGS \
|
||||||
"lx2160aqds_vdd_mv=800\0" \
|
"lx2160aqds_vdd_mv=800\0" \
|
||||||
|
"boot_scripts=lx2160aqds_boot.scr\0" \
|
||||||
|
"boot_script_hdr=hdr_lx2160aqds_bs.out\0" \
|
||||||
"BOARD=lx2160aqds\0" \
|
"BOARD=lx2160aqds\0" \
|
||||||
"xspi_bootcmd=echo Trying load from flexspi..;" \
|
"xspi_bootcmd=echo Trying load from flexspi..;" \
|
||||||
"sf probe 0:0 && sf read $load_addr " \
|
"sf probe 0:0 && sf read $load_addr " \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||||
/*
|
/*
|
||||||
* Copyright 2018 NXP
|
* Copyright 2018,2020 NXP
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __LX2_RDB_H
|
#ifndef __LX2_RDB_H
|
||||||
|
@ -89,6 +89,8 @@
|
||||||
/* Initial environment variables */
|
/* Initial environment variables */
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||||
EXTRA_ENV_SETTINGS \
|
EXTRA_ENV_SETTINGS \
|
||||||
|
"boot_scripts=lx2160ardb_boot.scr\0" \
|
||||||
|
"boot_script_hdr=hdr_lx2160ardb_bs.out\0" \
|
||||||
"lx2160ardb_vdd_mv=800\0" \
|
"lx2160ardb_vdd_mv=800\0" \
|
||||||
"BOARD=lx2160ardb\0" \
|
"BOARD=lx2160ardb\0" \
|
||||||
"xspi_bootcmd=echo Trying load from flexspi..;" \
|
"xspi_bootcmd=echo Trying load from flexspi..;" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue