summaryrefslogtreecommitdiff
path: root/common/modem.c
diff options
context:
space:
mode:
authorthomas.langer@lantiq.com <thomas.langer@lantiq.com>2011-03-29 02:35:14 +0000
committerWolfgang Denk <wd@denx.de>2011-04-28 00:46:01 +0200
commit2dc55d9ede62cd2af2a6d813115373a462c2b3dc (patch)
tree8ac42dc40619c37ac02fb852ae8173686bc53690 /common/modem.c
parentf38536f9138c253b0c1f9c72093a7ec6808e638f (diff)
downloadu-boot-imx-2dc55d9ede62cd2af2a6d813115373a462c2b3dc.zip
u-boot-imx-2dc55d9ede62cd2af2a6d813115373a462c2b3dc.tar.gz
u-boot-imx-2dc55d9ede62cd2af2a6d813115373a462c2b3dc.tar.bz2
fix redundant environment for serial flash
This patch fixes problems in the handling of redundant environment in env_sf.c The major problem are double calls of free() on the allocated buffers, which damages the internal data of malloc and crashes on next call. In addition, the selection of the active environment had errors and compiler warnings, which are corrected by this patch. Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Diffstat (limited to 'common/modem.c')
0 files changed, 0 insertions, 0 deletions