diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-07-13 09:31:40 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-15 11:05:24 +0200 |
commit | 3f0642d383451b71798a3aedb78ef5493b5f9629 (patch) | |
tree | 632a0fe988b1e366f25ca9b43afa777d68986cac /include/filetype.h | |
parent | 798e976bf23ad6ad80192893c2c7dd922d01e4ca (diff) | |
download | barebox-3f0642d383451b71798a3aedb78ef5493b5f9629.tar.gz barebox-3f0642d383451b71798a3aedb78ef5493b5f9629.tar.xz |
commands: spi: Fix spi read procedure
Buffer for RX is set incorrectly.
barebox@Phytec phyCORE-i.MX27:/ spi -r 128 -v
device config
bus_num = 0
max_speed_hz = 1000000
chip_select = 0
mode = 0x0
bits_per_word = 8
wrote 0 bytes
00000000:
read 128 bytes
00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
unable to handle paging request at address 0x4dffd3d0
pc : [<a7f05ec4>] lr : [<a7f05ebc>]
sp : a7fff890 ip : a7fff860 fp : a7f68820
r10: a6ffe9bc r9 : 00000000 r8 : 00000001
r7 : a6ffe9ec r6 : a6f00000 r5 : a6ffe9ec r4 : a6ffe9e4
r3 : a6ffe9e4 r2 : a6ffe9e5 r1 : a6ffe9e4 r0 : 4dffd3cc
Flags: nZCv IRQs off FIQs off Mode SVC_32
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/filetype.h')
0 files changed, 0 insertions, 0 deletions