mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
98303ce73d
rootwait=1 is not a valid kernel boot parameters. According to the documenation is only rootwait rootwait [KNL] Wait (indefinitely) for root device to show up. Useful for devices that are detected asynchronously (e.g. USB and MMC devices). Fix: Unknown kernel command line parameters "rootwait=1", will be passed to user space. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Heiko Schocher <hs@denx.de>
25 lines
764 B
C
25 lines
764 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com
|
|
*
|
|
* Environment variable definitions for NAND on TI boards.
|
|
*/
|
|
|
|
#ifdef CONFIG_MTD_RAW_NAND
|
|
#define NANDARGS \
|
|
"mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
|
|
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
|
|
"nandargs=setenv bootargs console=${console} " \
|
|
"${optargs} " \
|
|
"root=${nandroot} " \
|
|
"rootfstype=${nandrootfstype}\0" \
|
|
"nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048\0" \
|
|
"nandrootfstype=ubifs rootwait\0" \
|
|
"nandboot=echo Booting from nand ...; " \
|
|
"run nandargs; " \
|
|
"nand read ${fdtaddr} NAND.u-boot-spl-os; " \
|
|
"nand read ${loadaddr} NAND.kernel; " \
|
|
"bootz ${loadaddr} - ${fdtaddr}\0"
|
|
#else
|
|
#define NANDARGS ""
|
|
#endif
|