mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 18:56:37 +00:00
rtl838x: remove some debug output in rtl838x-nor.c
Seems like leftovers from development, remove them. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
4a3230683b
commit
0da0aab6f2
@ -147,7 +147,6 @@ ssize_t rtl838x_do_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
|
|||||||
while (length >= 4) {
|
while (length >= 4) {
|
||||||
SPI_WAIT_READY;
|
SPI_WAIT_READY;
|
||||||
*((uint32_t *) buffer) = spi_r32(SFDR);
|
*((uint32_t *) buffer) = spi_r32(SFDR);
|
||||||
/* printk("%.8x ", *((uint32_t*) buffer)); */
|
|
||||||
buffer += 4;
|
buffer += 4;
|
||||||
length -= 4;
|
length -= 4;
|
||||||
}
|
}
|
||||||
@ -159,7 +158,6 @@ ssize_t rtl838x_do_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
|
|||||||
while (length > 0) {
|
while (length > 0) {
|
||||||
SPI_WAIT_READY;
|
SPI_WAIT_READY;
|
||||||
*(buffer) = spi_r32(SFDR) >> 24;
|
*(buffer) = spi_r32(SFDR) >> 24;
|
||||||
/* printk("%.2x ", *(buffer)); */
|
|
||||||
buffer++;
|
buffer++;
|
||||||
length--;
|
length--;
|
||||||
}
|
}
|
||||||
@ -200,7 +198,6 @@ static ssize_t rtl838x_do_4bf_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
|
|||||||
while (length >= 4) {
|
while (length >= 4) {
|
||||||
SPI_WAIT_READY;
|
SPI_WAIT_READY;
|
||||||
*((uint32_t *) buffer) = spi_r32(SFDR);
|
*((uint32_t *) buffer) = spi_r32(SFDR);
|
||||||
/* printk("%.8x ", *((uint32_t*) buffer)); */
|
|
||||||
buffer += 4;
|
buffer += 4;
|
||||||
length -= 4;
|
length -= 4;
|
||||||
}
|
}
|
||||||
@ -212,7 +209,6 @@ static ssize_t rtl838x_do_4bf_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
|
|||||||
while (length > 0) {
|
while (length > 0) {
|
||||||
SPI_WAIT_READY;
|
SPI_WAIT_READY;
|
||||||
*(buffer) = spi_r32(SFDR) >> 24;
|
*(buffer) = spi_r32(SFDR) >> 24;
|
||||||
/* printk("%.2x ", *(buffer)); */
|
|
||||||
buffer++;
|
buffer++;
|
||||||
length--;
|
length--;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user