rv1126-uboot/tools
Dirk Behme 49d3e27211 imximage: Remove overwriting of flash_offset
The flash header supports different flash offsets for different
boot devices. E.g. parallel NOR or OneNAND use a different offset
than FLASH_OFFSET_STANDARD (== 0x400).

The flash offset is correctly read from the configuration in
parse_cfg_cmd(). But is then overwritten wrongly in set_imx_hdr_v1/2().

Fix this by removing this overwriting. Use the flash offset
correctly read from the configuration, instead.

If there is no flash_offset read from the configuration file, i.e.
the BOOT_FROM tag is missing, exit with an error message.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
CC: Jason Liu <liu.h.jason@gmail.com>
CC: Stefano Babic <sbabic@denx.de>
Tested-by: Stefano Babic <sbabic@denx.de>
2012-03-27 09:41:14 +02:00
..
bddb
easylogo
env fw_env.h: fix comment 2012-02-11 22:18:38 +01:00
gdb
imls
logos
omap omap: Improve PLL parameter calculation tool 2011-12-06 23:59:34 +01:00
scripts
updater
.gitignore ignore new mkenvimage tool 2011-11-27 15:44:41 +01:00
Makefile EXYNOS: SMDK5250: Add MMC SPL support 2012-02-12 10:11:30 +01:00
aisimage.c Fix tsize warning in tools/aisimage.c 2011-12-05 23:05:04 +01:00
aisimage.h mkimage: adding support for Davinci AIS image 2011-10-23 23:34:21 +02:00
bin2header.c
bmp_logo.c tools: logo: split bmp arrays from bmp_logo.h 2011-11-15 23:58:26 +01:00
checkpatch.pl tools: checkpatch.pl from Linux added to tools 2011-11-17 14:27:11 +01:00
checkstack.pl tools: checkstack.pl from Linux added to tools 2012-03-06 22:07:55 +01:00
default_image.c image: Implement IH_TYPE_KERNEL_NOLOAD 2011-12-01 09:45:35 +01:00
envcrc.c env: remove value from boolean defines 2012-01-05 16:35:54 +01:00
fdt_host.h
fit_image.c
gen_eth_addr.c
getline.c
getline.h
img2brec.sh
img2srec.c
imximage.c imximage: Remove overwriting of flash_offset 2012-03-27 09:41:14 +02:00
imximage.h imximage: Remove overwriting of flash_offset 2012-03-27 09:41:14 +02:00
jtagconsole
kwbimage.c
kwbimage.h
mingw_support.c
mingw_support.h
mkenvimage.c Correctly handle input files beginning with several newlines 2012-01-05 20:10:38 +01:00
mkexynosspl.c EXYNOS: SMDK5250: Add MMC SPL support 2012-02-12 10:11:30 +01:00
mkimage.c mkimage: Fix variable length header support 2011-12-24 10:23:30 +01:00
mkimage.h mkimage: adding support for Davinci AIS image 2011-10-23 23:34:21 +02:00
mpc86x_clk.c
mxsboot.c mxsboot: fix tool name in usage message 2012-03-17 21:38:03 +01:00
ncb.c
netconsole
omapimage.c
omapimage.h
os_support.c tools/os_support: add OS X Lion support 2011-12-02 10:56:21 +01:00
os_support.h tools/os_support: add OS X Lion support 2011-12-02 10:56:21 +01:00
setlocalversion tools/setlocalversion: Update from the Linux Kernel 2011-12-17 20:58:48 +01:00
ublimage.c
ublimage.h arm, davinci: add cam_enc_4xx support 2011-11-03 22:56:25 +01:00
ubsha1.c
xway-swap-bytes.c