aboutsummaryrefslogtreecommitdiff
path: root/include/configs/k2l_evm.h
diff options
context:
space:
mode:
authorMurali Karicheri2016-03-09 15:39:38 +0530
committerTom Rini2016-03-15 21:30:18 -0400
commitabca947746063e53e3aeadd5b809b4a7be913acf (patch)
tree59357ddf2650006581493f3abd8f076d05af72a9 /include/configs/k2l_evm.h
parent84fe28382c707786394218821568abc2645b6c0e (diff)
keystone2: env: add env script for booting with an initramfs with firmware
This patch updates the env script to include a initramfs with firmware loaded and provided to kernel through second argument of bootz command during boot. Defined DEFAULT_FW_INITRAMFS_BOOT_ENV to have all of the required env variables and use it in evm specific config file. The K2 linux drivers for PCIe and NetCP (1G, 10G) requires serdes firmwares. These requires firmware to be available early through the boot process in some cases to satisfy firmware requests from driver. Hence use a small initramfs to provide the same and update boot env to accommodate this in the boot flow. This method is used when rootfs is nfs and ubifs. This fs contains just lib/firmware folder with all required firmware. When rootfs is on initramfs, then the filesystem has the firmware under lib/firmware and this early initramfs is not required and is not used. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/k2l_evm.h')
-rw-r--r--include/configs/k2l_evm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/k2l_evm.h b/include/configs/k2l_evm.h
index 9bacfa49c43..829daa28c29 100644
--- a/include/configs/k2l_evm.h
+++ b/include/configs/k2l_evm.h
@@ -16,6 +16,7 @@
/* U-Boot general configuration */
#define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
+ DEFAULT_FW_INITRAMFS_BOOT_ENV \
"addr_mon=0x0c140000\0" \
"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \
"root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0" \