diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2016-03-09 15:39:38 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-15 21:30:18 -0400 |
commit | abca947746063e53e3aeadd5b809b4a7be913acf (patch) | |
tree | 59357ddf2650006581493f3abd8f076d05af72a9 /include/configs/k2hk_evm.h | |
parent | 84fe28382c707786394218821568abc2645b6c0e (diff) | |
download | u-boot-abca947746063e53e3aeadd5b809b4a7be913acf.tar.gz |
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/k2hk_evm.h')
-rw-r--r-- | include/configs/k2hk_evm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h index 3cd2a85a2d..a031ae40af 100644 --- a/include/configs/k2hk_evm.h +++ b/include/configs/k2hk_evm.h @@ -16,6 +16,7 @@ /* U-Boot general configuration */ #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ + DEFAULT_FW_INITRAMFS_BOOT_ENV \ "addr_mon=0x0c5f0000\0" \ "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \ "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0" \ |