Seems like leftovers from development, remove them.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
while (length >= 4) {
SPI_WAIT_READY;
*((uint32_t *) buffer) = spi_r32(SFDR);
-/* printk("%.8x ", *((uint32_t*) buffer)); */
buffer += 4;
length -= 4;
}
while (length > 0) {
SPI_WAIT_READY;
*(buffer) = spi_r32(SFDR) >> 24;
-/* printk("%.2x ", *(buffer)); */
buffer++;
length--;
}
while (length >= 4) {
SPI_WAIT_READY;
*((uint32_t *) buffer) = spi_r32(SFDR);
-/* printk("%.8x ", *((uint32_t*) buffer)); */
buffer += 4;
length -= 4;
}
while (length > 0) {
SPI_WAIT_READY;
*(buffer) = spi_r32(SFDR) >> 24;
-/* printk("%.2x ", *(buffer)); */
buffer++;
length--;
}