mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	Replace instances of http://www.ti.com with https://www.ti.com Signed-off-by: Nishanth Menon <nm@ti.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			765 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			765 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright (C) 2019 Texas Instruments Incorporated - https://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
 |