aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-01-22 20:26:00 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-22 20:26:00 -0500
commit1b8ee1ec413bce16b0fc0e43816588c288fdc229 (patch)
treebc562f94952033c16aaecdc18da8ca97cd04716f
parent5430dfe90db8a4443fa7f9b62c77e82f768dd797 (diff)
parent53c517a83741718e35dd0494eb271c3c6e3820e5 (diff)
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "A few fixes for fallout that we didn't catch in time in -next, or smaller warning fixes that have been discovered since" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: soc: qcom/spm: shut up uninitialized variable warning ARM: realview: fix device tree build ARM: debug-ll: fix BCM63xx entry for multiplatform ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz
-rw-r--r--arch/arm/Kconfig.debug17
-rw-r--r--arch/arm/boot/dts/r8a7740-armadillo800eva.dts2
-rw-r--r--arch/arm/mach-realview/Makefile3
-rw-r--r--drivers/soc/qcom/spm.c2
4 files changed, 9 insertions, 15 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 5c0e5cc8ed10..c6b6175d0203 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -153,10 +153,9 @@ choice
153 mobile SoCs in the Kona family of chips (e.g. bcm28155, 153 mobile SoCs in the Kona family of chips (e.g. bcm28155,
154 bcm11351, etc...) 154 bcm11351, etc...)
155 155
156 config DEBUG_BCM63XX 156 config DEBUG_BCM63XX_UART
157 bool "Kernel low-level debugging on BCM63XX UART" 157 bool "Kernel low-level debugging on BCM63XX UART"
158 depends on ARCH_BCM_63XX 158 depends on ARCH_BCM_63XX
159 select DEBUG_UART_BCM63XX
160 159
161 config DEBUG_BERLIN_UART 160 config DEBUG_BERLIN_UART
162 bool "Marvell Berlin SoC Debug UART" 161 bool "Marvell Berlin SoC Debug UART"
@@ -1414,7 +1413,7 @@ config DEBUG_LL_INCLUDE
1414 default "debug/vf.S" if DEBUG_VF_UART 1413 default "debug/vf.S" if DEBUG_VF_UART
1415 default "debug/vt8500.S" if DEBUG_VT8500_UART0 1414 default "debug/vt8500.S" if DEBUG_VT8500_UART0
1416 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1 1415 default "debug/zynq.S" if DEBUG_ZYNQ_UART0 || DEBUG_ZYNQ_UART1
1417 default "debug/bcm63xx.S" if DEBUG_UART_BCM63XX 1416 default "debug/bcm63xx.S" if DEBUG_BCM63XX_UART
1418 default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0 1417 default "debug/digicolor.S" if DEBUG_DIGICOLOR_UA0
1419 default "mach/debug-macro.S" 1418 default "mach/debug-macro.S"
1420 1419
@@ -1428,10 +1427,6 @@ config DEBUG_UART_8250
1428 ARCH_IOP13XX || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || \ 1427 ARCH_IOP13XX || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || \
1429 ARCH_RPC 1428 ARCH_RPC
1430 1429
1431# Compatibility options for BCM63xx
1432config DEBUG_UART_BCM63XX
1433 def_bool ARCH_BCM_63XX
1434
1435config DEBUG_UART_PHYS 1430config DEBUG_UART_PHYS
1436 hex "Physical base address of debug UART" 1431 hex "Physical base address of debug UART"
1437 default 0x00100a00 if DEBUG_NETX_UART 1432 default 0x00100a00 if DEBUG_NETX_UART
@@ -1529,7 +1524,7 @@ config DEBUG_UART_PHYS
1529 default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1 1524 default 0xfffb0000 if DEBUG_OMAP1UART1 || DEBUG_OMAP7XXUART1
1530 default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2 1525 default 0xfffb0800 if DEBUG_OMAP1UART2 || DEBUG_OMAP7XXUART2
1531 default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3 1526 default 0xfffb9800 if DEBUG_OMAP1UART3 || DEBUG_OMAP7XXUART3
1532 default 0xfffe8600 if DEBUG_UART_BCM63XX 1527 default 0xfffe8600 if DEBUG_BCM63XX_UART
1533 default 0xfffff700 if ARCH_IOP33X 1528 default 0xfffff700 if ARCH_IOP33X
1534 depends on ARCH_EP93XX || \ 1529 depends on ARCH_EP93XX || \
1535 DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \ 1530 DEBUG_LL_UART_8250 || DEBUG_LL_UART_PL01X || \
@@ -1542,7 +1537,7 @@ config DEBUG_UART_PHYS
1542 DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \ 1537 DEBUG_RMOBILE_SCIFA0 || DEBUG_RMOBILE_SCIFA1 || \
1543 DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \ 1538 DEBUG_RMOBILE_SCIFA4 || DEBUG_S3C24XX_UART || \
1544 DEBUG_S3C64XX_UART || \ 1539 DEBUG_S3C64XX_UART || \
1545 DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \ 1540 DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
1546 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \ 1541 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 || \
1547 DEBUG_AT91_UART 1542 DEBUG_AT91_UART
1548 1543
@@ -1588,7 +1583,7 @@ config DEBUG_UART_VIRT
1588 default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT 1583 default 0xfb10c000 if DEBUG_REALVIEW_PB1176_PORT
1589 default 0xfc40ab00 if DEBUG_BRCMSTB_UART 1584 default 0xfc40ab00 if DEBUG_BRCMSTB_UART
1590 default 0xfc705000 if DEBUG_ZTE_ZX 1585 default 0xfc705000 if DEBUG_ZTE_ZX
1591 default 0xfcfe8600 if DEBUG_UART_BCM63XX 1586 default 0xfcfe8600 if DEBUG_BCM63XX_UART
1592 default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX 1587 default 0xfd000000 if DEBUG_SPEAR3XX || DEBUG_SPEAR13XX
1593 default 0xfd012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_MV78XX0 1588 default 0xfd012000 if DEBUG_MVEBU_UART0_ALTERNATE && ARCH_MV78XX0
1594 default 0xfd883000 if DEBUG_ALPINE_UART0 1589 default 0xfd883000 if DEBUG_ALPINE_UART0
@@ -1638,7 +1633,7 @@ config DEBUG_UART_VIRT
1638 DEBUG_NETX_UART || \ 1633 DEBUG_NETX_UART || \
1639 DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \ 1634 DEBUG_QCOM_UARTDM || DEBUG_S3C24XX_UART || \
1640 DEBUG_S3C64XX_UART || \ 1635 DEBUG_S3C64XX_UART || \
1641 DEBUG_UART_BCM63XX || DEBUG_ASM9260_UART || \ 1636 DEBUG_BCM63XX_UART || DEBUG_ASM9260_UART || \
1642 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0 1637 DEBUG_SIRFSOC_UART || DEBUG_DIGICOLOR_UA0
1643 1638
1644config DEBUG_UART_8250_SHIFT 1639config DEBUG_UART_8250_SHIFT
diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 78a21f2828df..c548cabb102f 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -180,7 +180,7 @@
180}; 180};
181 181
182&extal1_clk { 182&extal1_clk {
183 clock-frequency = <25000000>; 183 clock-frequency = <24000000>;
184}; 184};
185&extal2_clk { 185&extal2_clk {
186 clock-frequency = <48000000>; 186 clock-frequency = <48000000>;
diff --git a/arch/arm/mach-realview/Makefile b/arch/arm/mach-realview/Makefile
index 8be6632407d8..dae8d86ef4cc 100644
--- a/arch/arm/mach-realview/Makefile
+++ b/arch/arm/mach-realview/Makefile
@@ -4,10 +4,9 @@
4ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ 4ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
5 -I$(srctree)/arch/arm/plat-versatile/include 5 -I$(srctree)/arch/arm/plat-versatile/include
6 6
7 7obj-y := core.o
8obj-$(CONFIG_REALVIEW_DT) += realview-dt.o 8obj-$(CONFIG_REALVIEW_DT) += realview-dt.o
9obj-$(CONFIG_SMP) += platsmp-dt.o 9obj-$(CONFIG_SMP) += platsmp-dt.o
10obj-y := core.o
11 10
12ifdef CONFIG_ATAGS 11ifdef CONFIG_ATAGS
13obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o 12obj-$(CONFIG_MACH_REALVIEW_EB) += realview_eb.o
diff --git a/drivers/soc/qcom/spm.c b/drivers/soc/qcom/spm.c
index 0ad66fa9bb1a..5548a31e1a39 100644
--- a/drivers/soc/qcom/spm.c
+++ b/drivers/soc/qcom/spm.c
@@ -288,7 +288,7 @@ static struct spm_driver_data *spm_get_drv(struct platform_device *pdev,
288 struct spm_driver_data *drv = NULL; 288 struct spm_driver_data *drv = NULL;
289 struct device_node *cpu_node, *saw_node; 289 struct device_node *cpu_node, *saw_node;
290 int cpu; 290 int cpu;
291 bool found; 291 bool found = 0;
292 292
293 for_each_possible_cpu(cpu) { 293 for_each_possible_cpu(cpu) {
294 cpu_node = of_cpu_device_node_get(cpu); 294 cpu_node = of_cpu_device_node_get(cpu);