From: Afzal Mohammed Date: Tue, 17 Sep 2013 19:45:48 +0000 (+0530) Subject: am335x_evm: enable DFU RAM X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e473b8b65b5c12a840e71939ed9fa243959ec5f2;p=u-boot.git am335x_evm: enable DFU RAM Enable DFU for RAM, provide example dfu_alt_info Signed-off-by: Afzal Mohammed Cc: Heiko Schocher Cc: Tom Rini Cc: Marek Vasut Cc: Lukasz Majewski Cc: Pantelis Antoniou Reviewed-by: Lukasz Majewski --- diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 3de30fc280..978fdf9cb5 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.