[U-Boot] [PATCH v3 3/3] am335x_evm: enable DFU RAM
Afzal Mohammed
afzal.mohd.ma at gmail.com
Fri Sep 13 09:17:00 CEST 2013
Enable DFU for RAM, provide example dfu_alt_info
Signed-off-by: Afzal Mohammed <afzal.mohd.ma at gmail.com>
Cc: Tom Rini <trini at ti.com>
Cc: Marek Vasut <marex at denx.de>
Cc: Lukasz Majewski <l.majewski at samsung.com>
Cc: Pantelis Antoniou <panto at antoniou-consulting.com>
Reviewed-by: Lukasz Majewski <l.majewski at samsung.com>
---
v3: collected tag
v2: new
include/configs/am335x_evm.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 3de30fc..978fdf9 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -100,6 +100,7 @@
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
"importbootenv=echo Importing environment from mmc ...; " \
"env import -t $loadaddr $filesize\0" \
+ "dfu_alt_info_ram=" DFU_ALT_INFO_RAM "\0" \
"ramargs=setenv bootargs console=${console} " \
"${optargs} " \
"root=${ramroot} " \
@@ -321,6 +322,11 @@
"kernel part 0 8;" \
"rootfs part 0 9"
#endif
+#define CONFIG_DFU_RAM
+#define DFU_ALT_INFO_RAM \
+ "kernel ram 0x80200000 0xD80000;" \
+ "fdt ram 0x80F80000 0x80000;" \
+ "ramdisk ram 0x81000000 0x4000000"
/*
* Default to using SPI for environment, etc.
--
1.8.2.135.g7b592fa
More information about the U-Boot
mailing list