summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-06-09 14:54:30 -0300
committerStefano Babic <sbabic@denx.de>2016-06-18 10:37:22 +0200
commit67ef2c133f099d3d719058eb73aeec8f1574655c (patch)
tree63de757f6e703d052e66f511e12a88eeb31b5d26 /include/configs
parent72a868f16eeffd880b2ed77ab4bc9e072446f5a7 (diff)
downloadtalos-obmc-uboot-67ef2c133f099d3d719058eb73aeec8f1574655c.tar.gz
talos-obmc-uboot-67ef2c133f099d3d719058eb73aeec8f1574655c.zip
warp7: Fix DFU support
Currently DFU is not working. Adjust CONFIG_SYS_MALLOC_LEN and dfu_alt_info so that we are able to flash u-boot.imx into the eMMC via dfu using the following method: => dfu 0 mmc 0 In the host PC: dfu-util -D u-boot.imx -a boot This is the same approach done in the mx6sl warp board. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/warp7.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/configs/warp7.h b/include/configs/warp7.h
index 8b9ed2b032..fc0e51a9ae 100644
--- a/include/configs/warp7.h
+++ b/include/configs/warp7.h
@@ -16,7 +16,7 @@
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
/* Size of malloc() pool */
-#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
+#define CONFIG_SYS_MALLOC_LEN (35 * SZ_1M)
#define CONFIG_BOARD_EARLY_INIT_F
#define CONFIG_BOARD_LATE_INIT
@@ -28,10 +28,7 @@
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
#define CONFIG_DFU_ENV_SETTINGS \
- "dfu_alt_info=image raw 0 0x800000;"\
- "u-boot raw 0 0x4000;"\
- "bootimg part 0 1;"\
- "rootfs part 0 2\0" \
+ "dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_DFU_ENV_SETTINGS \
OpenPOWER on IntegriCloud