openwrt/target/linux/bcm27xx/patches-4.19/950-0567-SQUASH-bcm2835-dma-Remove-debugging.patch
Adrian Schmutzler 7d7aa2fd92 brcm2708: rename target to bcm27xx
This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.

Despite, since subtargets range from bcm2708 to bcm2711, it seems
appropriate to use bcm27xx instead of bcm2708 (again, as already done
for BOARDNAME).

This also renames the packages brcm2708-userland and brcm2708-gpu-fw.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-14 14:10:51 +01:00

46 lines
1.4 KiB
Diff

From eecf4b8568f0a0d6b90364299eed6b12ce63c245 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Thu, 6 Jun 2019 09:35:08 +0100
Subject: [PATCH] SQUASH: bcm2835-dma: Remove debugging
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
---
drivers/dma/bcm2835-dma.c | 5 -----
1 file changed, 5 deletions(-)
--- a/drivers/dma/bcm2835-dma.c
+++ b/drivers/dma/bcm2835-dma.c
@@ -584,8 +584,6 @@ static void bcm2835_dma_fill_cb_chain_wi
dma_addr_t addr;
struct scatterlist *sgent;
- pr_err("dma_fill_chain_with_sg(ch %d, dir %d):\n", c->ch, direction);
-
max_len = bcm2835_dma_max_frame_length(c);
for_each_sg(sgl, sgent, sg_len, i) {
if (c->is_40bit_channel) {
@@ -603,7 +601,6 @@ static void bcm2835_dma_fill_cb_chain_wi
scb->srci = upper_32_bits(addr) | BCM2838_DMA40_INC;
}
scb->len = min(len, max_len);
- pr_err(" %llx, %x\n", (u64)addr, scb->len);
}
} else {
for (addr = sg_dma_address(sgent),
@@ -616,7 +613,6 @@ static void bcm2835_dma_fill_cb_chain_wi
else
cb->cb->src = addr;
cb->cb->length = min(len, max_len);
- pr_err(" %llx, %x\n", (u64)addr, cb->cb->length);
}
}
}
@@ -659,7 +655,6 @@ static void bcm2835_dma_start_desc(struc
struct virt_dma_desc *vd = vchan_next_desc(&c->vc);
struct bcm2835_desc *d;
- pr_err("dma_start_desc(%px)\n", vd);
if (!vd) {
c->desc = NULL;
return;