am335x_evm: enable DFU RAM
Enable DFU for RAM, provide example dfu_alt_info Signed-off-by: Afzal Mohammed <afzal.mohd.ma@gmail.com> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Marek Vasut <marex@denx.de> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
This commit is contained in:
parent
a9479f0431
commit
e473b8b65b
1 changed files with 6 additions and 0 deletions
|
@ -100,6 +100,7 @@
|
||||||
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
"loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}\0" \
|
||||||
"importbootenv=echo Importing environment from mmc ...; " \
|
"importbootenv=echo Importing environment from mmc ...; " \
|
||||||
"env import -t $loadaddr $filesize\0" \
|
"env import -t $loadaddr $filesize\0" \
|
||||||
|
"dfu_alt_info_ram=" DFU_ALT_INFO_RAM "\0" \
|
||||||
"ramargs=setenv bootargs console=${console} " \
|
"ramargs=setenv bootargs console=${console} " \
|
||||||
"${optargs} " \
|
"${optargs} " \
|
||||||
"root=${ramroot} " \
|
"root=${ramroot} " \
|
||||||
|
@ -321,6 +322,11 @@
|
||||||
"kernel part 0 8;" \
|
"kernel part 0 8;" \
|
||||||
"rootfs part 0 9"
|
"rootfs part 0 9"
|
||||||
#endif
|
#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.
|
* Default to using SPI for environment, etc.
|
||||||
|
|
Loading…
Reference in a new issue