From e910ed1d703b9980d0326f84e381f894c83991c4 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 17 Feb 2016 17:11:14 +0100 Subject: colibri_imx7.h: load flashscript from {board}/ directory Signed-off-by: Max Krummenacher Signed-off-by: Stefan Agner --- include/configs/colibri_imx7.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index 9c2d6f367d..da2a2d31da 100644 --- a/include/configs/colibri_imx7.h +++ b/include/configs/colibri_imx7.h @@ -274,17 +274,17 @@ "mtdparts=" MTDPARTS_DEFAULT "\0" \ "setethupdate=if env exists ethaddr; then; else setenv ethaddr " \ "00:14:2d:00:00:00; fi; tftpboot ${loadaddr} " \ - "flash_eth.img && source ${loadaddr}\0" \ + "${board}/flash_eth.img && source ${loadaddr}\0" \ "setsdupdate=mmc rescan && setenv interface mmc && " \ - "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \ - "source ${loadaddr}\0" \ + "fatload ${interface} 0:1 ${loadaddr} " \ + "${board}/flash_blk.img && source ${loadaddr}\0" \ "setup=setenv setupargs " \ "console=tty1 console=${console}" \ ",${baudrate}n8 ${memargs} consoleblank=0 ${mtdparts}\0" \ "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ "setusbupdate=usb start && setenv interface usb && " \ - "fatload ${interface} 0:1 ${loadaddr} flash_blk.img && " \ - "source ${loadaddr}\0" \ + "fatload ${interface} 0:1 ${loadaddr} " \ + "${board}/flash_blk.img && source ${loadaddr}\0" \ "splashpos=m,m\0" \ -- cgit v1.2.3