summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2019-03-07 14:22:01 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2019-03-07 16:36:20 +0100
commit11c0d12c8a583ff05c00f8eac5a7421ae00dcbab (patch)
tree069b7479e33a148e0ed52e46af55ee10287ccd1c /configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch
parenta9b4c4db8f213c9109daa805e208e594024e0597 (diff)
downloadDistroKit-11c0d12c8a583ff05c00f8eac5a7421ae00dcbab.tar.gz
DistroKit-11c0d12c8a583ff05c00f8eac5a7421ae00dcbab.tar.xz
platform-v7a: barebox bump v2019.01.0 → v2019.03.0
Patch free, baby! Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch')
-rw-r--r--configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch b/configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch
deleted file mode 100644
index e2b3607..0000000
--- a/configs/platform-v7a/patches/barebox-2019.01.0/0009-ARM-rpi-use-defines-for-uart-bases.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
-Date: Tue, 18 Dec 2018 11:41:38 +0100
-Subject: [PATCH] ARM: rpi: use defines for uart bases
-
-Previously the clkdev_add_phybase was called on magic register values,
-add defines which clarify the device for which the phybase clkdev is created.
-
-Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
----
- arch/arm/boards/raspberry-pi/rpi-common.c | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
-diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c
-index f22239c7ccb6..219c9c7d2b9e 100644
---- a/arch/arm/boards/raspberry-pi/rpi-common.c
-+++ b/arch/arm/boards/raspberry-pi/rpi-common.c
-@@ -298,6 +298,10 @@ static int rpi_clock_init(void)
- }
- postconsole_initcall(rpi_clock_init);
-
-+#define BCM2835_PL011_BASE 0x20201000
-+#define BCM2836_PL011_BASE 0x3f201000
-+#define BCM2836_MINIUART_BASE 0x3f215040
-+
- static int rpi_console_clock_init(void)
- {
- struct clk *clk;
-@@ -307,15 +311,15 @@ static int rpi_console_clock_init(void)
-
- clk = clk_fixed("uart0-pl0110", 3 * 1000 * 1000);
- clk_register_clkdev(clk, NULL, "uart0-pl0110");
-- clkdev_add_physbase(clk, 0x20201000, NULL);
-- clkdev_add_physbase(clk, 0x3f201000, NULL);
-+ clkdev_add_physbase(clk, BCM2835_PL011_BASE, NULL);
-+ clkdev_add_physbase(clk, BCM2836_PL011_BASE, NULL);
-
- clk = rpi_register_firmware_clock(BCM2835_MBOX_CLOCK_ID_CORE,
- "uart1-8250");
- if (IS_ERR(clk))
- return PTR_ERR(clk);
-
-- clkdev_add_physbase(clk, 0x3f215040, NULL);
-+ clkdev_add_physbase(clk, BCM2836_MINIUART_BASE, NULL);
-
- clk = clk_fixed("bcm2835-cs", 1 * 1000 * 1000);
- clk_register_clkdev(clk, NULL, "bcm2835-cs");