|
|
@ -54,8 +54,8 @@ ssize_t spi_read (uchar *addr, int alen, uchar *buffer, int len) |
|
|
|
return -1; |
|
|
|
return -1; |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* if alen == 3, addr[0] is the block number, we never use it here. All we |
|
|
|
* if alen == 3, addr[0] is the block number, we never use it here. |
|
|
|
* need are the lower 16 bits |
|
|
|
* All we need are the lower 16 bits. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
if (alen == 3) |
|
|
|
if (alen == 3) |
|
|
|
addr++; |
|
|
|
addr++; |
|
|
|