aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-15 12:31:56 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-16 16:31:28 +0200
commit0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1 (patch)
treefeffb4c10fefac4a4afeb317955d980889f113c0 /target
parent4a3230683ba12e4cd688304c551d40398b1e7ad3 (diff)
downloadupstream-0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1.tar.gz
upstream-0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1.tar.bz2
upstream-0da0aab6f2edc59e00c3c50a3c8f8d7e6f27c0b1.zip
rtl838x: remove some debug output in rtl838x-nor.c
Seems like leftovers from development, remove them. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rw-r--r--target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c b/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c
index 0d8f9dbd3e..20d93ae962 100644
--- a/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c
+++ b/target/linux/rtl838x/files-5.4/drivers/mtd/spi-nor/rtl838x-nor.c
@@ -147,7 +147,6 @@ ssize_t rtl838x_do_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
while (length >= 4) {
SPI_WAIT_READY;
*((uint32_t *) buffer) = spi_r32(SFDR);
-/* printk("%.8x ", *((uint32_t*) buffer)); */
buffer += 4;
length -= 4;
}
@@ -159,7 +158,6 @@ ssize_t rtl838x_do_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
while (length > 0) {
SPI_WAIT_READY;
*(buffer) = spi_r32(SFDR) >> 24;
-/* printk("%.2x ", *(buffer)); */
buffer++;
length--;
}
@@ -200,7 +198,6 @@ static ssize_t rtl838x_do_4bf_read(struct rtl838x_nor *rtl838x_nor, loff_t from,
while (length >= 4) {
SPI_WAIT_READY;
*((uint32_t *) buffer) = spi_r32(SFDR);
-/* printk("%.8x ", *((uint32_t*) buffer)); */
buffer += 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) {
SPI_WAIT_READY;
*(buffer) = spi_r32(SFDR) >> 24;
-/* printk("%.2x ", *(buffer)); */
buffer++;
length--;
}