summaryrefslogtreecommitdiff
path: root/common/cmd_fpga.c
diff options
context:
space:
mode:
authorBrad Bozarth <bflinux@yumbrad.com>2009-01-01 22:45:47 -0500
committerWolfgang Denk <wd@denx.de>2009-01-24 01:57:40 +0100
commit68f8718df2ed4c2f43031407ccf6cfa81125dddc (patch)
treea375c69324a631741424cbaef3dfe46c5e8099ee /common/cmd_fpga.c
parentce82ff05388b5ddafdf6082ef0776cce72c40b1c (diff)
downloadu-boot-imx-68f8718df2ed4c2f43031407ccf6cfa81125dddc.zip
u-boot-imx-68f8718df2ed4c2f43031407ccf6cfa81125dddc.tar.gz
u-boot-imx-68f8718df2ed4c2f43031407ccf6cfa81125dddc.tar.bz2
spi flash: fix crash due to spi flash miscommunication
Higher spi flash layers expect to be given back a pointer that was malloced so that it can free the result, but the lower layers return a pointer that is in the middle of the malloced memory. Reorder the members of the lower spi structures so that things work out. Signed-off-by: Brad Bozarth <bflinux@yumbrad.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'common/cmd_fpga.c')
0 files changed, 0 insertions, 0 deletions