diff options
author | Brad Bozarth <bflinux@yumbrad.com> | 2009-01-01 22:45:47 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-24 01:57:40 +0100 |
commit | 68f8718df2ed4c2f43031407ccf6cfa81125dddc (patch) | |
tree | a375c69324a631741424cbaef3dfe46c5e8099ee /cpu/ppc4xx/interrupts.c | |
parent | ce82ff05388b5ddafdf6082ef0776cce72c40b1c (diff) | |
download | u-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 'cpu/ppc4xx/interrupts.c')
0 files changed, 0 insertions, 0 deletions