- 16 12月, 2015 1 次提交
-
-
由 Arnd Bergmann 提交于
Footbridge has two debug ports that are handled a bit differently: The 8250 port uses the normal debug/8250.S implementation that is shared with a lot of other platforms, but it relies on the DEBUG_UART_8250 option to be turned on automatically instead of being selected by DEBUG_FOOTBRIDGE_COM1 as we do for most other platforms. I'm changing this to use a 'select' and change the dependency to the debug symbol rather than the platform symbol for consistency. The DC21285 UART has a separate top-level option, and relies on the traditional include/mach/debug-macro.S method. With the s3c64xx multiplatform series queued up for 4.5, it is now the last one that does this, so by moving this file to include/debug/dc21285.S, we can get all platforms to do things the same way. Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 21 9月, 2015 1 次提交
-
-
由 Alexandre Belloni 提交于
Instead of having to add a new configuration option each time support for new SoC is added, use CONFIG_DEBUG_UART_PHYS. For now, CONFIG_DEBUG_UART_VIRT is automatically computed. Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
-
- 05 8月, 2015 1 次提交
-
-
由 Nicolas Ferre 提交于
Add Kconfig entries, header file changes and addition to the documentation. The early debug infrastructure is also added for easy development. Signed-off-by: NLudovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com> Acked-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
- 22 7月, 2015 1 次提交
-
-
由 Arun Chandran 提交于
earlyprintk messages are not appearing on the terminal emulator during a big endian kernel boot. In BE mode sending full words to UART will result in unprintable characters as they are byte swapped versions of printable ones. So send only bytes. Signed-off-by: NArun Chandran <achandran@mvista.com> Tested-by: NMichal Simek <michal.simek@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 14 7月, 2015 1 次提交
-
-
由 Anson Huang 提交于
Enable low-level debug support for i.MX6UL by adding the debug port definitions for the SoC. Singed-off-by: NAnson Huang <b20788@freescale.com> Signed-off-by: NFugang Duan <B38611@freescale.com> Signed-off-by: NFrank Li <Frank.Li@freescale.com> Signed-off-by: NShawn Guo <shawnguo@kernel.org>
-
- 03 6月, 2015 1 次提交
-
-
由 Anson Huang 提交于
Add low level uart debug support for imx7d Signed-off-by: NFrank Li <Frank.Li@freescale.com> Signed-off-by: NBai Ping <b51503@freescale.com> Signed-off-by: NAnson Huang <b20788@freescale.com> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 21 5月, 2015 1 次提交
-
-
由 Stefan Agner 提交于
Remove the needless differences between MMU/!MMU addruart calls. This allows to use the same addruart macro on SoC level. Useful for SoC consisting of multiple CPUs with and without MMU such as Freescale Vybrid. Signed-off-by: NStefan Agner <stefan@agner.ch> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 16 5月, 2015 1 次提交
-
-
由 Jun Nie 提交于
Use the UART0 peripheral for low level debug. Only the UART port 0 is currently supported. Signed-off-by: NJun Nie <jun.nie@linaro.org> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 12 5月, 2015 1 次提交
-
-
由 Ben Dooks 提交于
If the 8250 debug code is used in word mode on an big endian host then the writes need to be change into little endian for the bus. Note, we have to re-convert the value back as the debug code will inspect the value after writing it to see if a newline has been written. Signed-off-by: NBen Dooks <ben.dooks@codethink.co.uk> Signed-off-by: NDinh Nguyen <dinguyen@opensource.altera.com>
-
- 28 3月, 2015 1 次提交
-
-
由 Stephen Boyd 提交于
The maintainers for mach-msm no longer have any plans to support or test the platforms supported by this architecture[1]. Most likely there aren't any active users of this code anyway, so let's delete it. [1] http://lkml.kernel.org/r/20150307031212.GA8434@fifo99.com Cc: David Brown <davidb@codeaurora.org> Cc: Bryan Huntsman <bryanh@codeaurora.org> Cc: Daniel Walker <dwalker@fifo99.com> Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NKumar Gala <galak@codeaurora.org>
-
- 05 3月, 2015 1 次提交
-
-
由 Alexandre Belloni 提交于
Linux may be used without MMU on atmel SoCs, fix debug in this configuration. Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
-
- 28 1月, 2015 1 次提交
-
-
由 Baruch Siach 提交于
Use the USART peripheral as UART for low level debug. Only the UA0 port is currently supported. Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NBaruch Siach <baruch@tkos.co.il> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
- 21 1月, 2015 2 次提交
-
-
由 Daniel Thompson 提交于
As part of the migration we introduce DEBUG_UART_PHYS/DEBUG_UART_VIRT which default to UART1 but allow a user to configure UART2 or UART3. We also introduce symbolic names for the registers and flags. Signed-off-by: NDaniel Thompson <daniel.thompson@linaro.org> Acked-by: NArnd Bergmann <arnd.bergmann@linaro.org> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
由 Daniel Thompson 提交于
As part of the migration a couple of uart definitions have been copied from of the platform specific header files. Signed-off-by: NDaniel Thompson <daniel.thompson@linaro.org> Cc: Greg Ungerer <gerg@uclinux.org> Cc: Arnd Bergmann <arnd.bergmann@linaro.org> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 20 1月, 2015 2 次提交
-
-
由 Guo Zeng 提交于
this patch adds UART0 and UART1 as LLUART port, as the new Atlas7 registers layout are different, it also refines some names of old hard-coded MARCOs and uses CONFIG_DEBUG_UART_PHYS/DEBUG_UART_VIRT to define different base addresses for multiple ports. Signed-off-by: NGuo Zeng <Guo.Zeng@csr.com> Signed-off-by: NZhiwu Song <Zhiwu.Song@csr.com> Signed-off-by: NBarry Song <Baohua.Song@csr.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
由 Stephen Boyd 提交于
If the CPU is in big-endian mode these macros will access the hardware incorrectly. Reverse thins as necessary to fix this. Signed-off-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NKumar Gala <galak@codeaurora.org>
-
- 15 1月, 2015 1 次提交
-
-
由 Alexandre Belloni 提交于
Move debug-macro.S from include/mach/ to include/debug where all other common debug macros are. Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: NBoris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
-
- 14 1月, 2015 1 次提交
-
-
由 Barry Song 提交于
Marco will not be supported any more. it has been replaced by CSR Atlas7. Signed-off-by: NBarry Song <Baohua.Song@csr.com> Acked-by: NArnd Bergmann <arnd@arndb.de>
-
- 28 11月, 2014 1 次提交
-
-
由 Oleksij Rempel 提交于
Since there is no public documentation, this patch also provide register offsets for different UART units on this SoC. Signed-off-by: NOleksij Rempel <linux@rempel-privat.de> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 20 11月, 2014 1 次提交
-
-
由 Dmitry Eremin-Solenikov 提交于
StrongARM debug-macro.S is quite standalone thing, depending only on register mappings. Move it to proper place and add Kconfig entry. Signed-off-by: NDmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 17 11月, 2014 1 次提交
-
-
由 Geert Uytterhoeven 提交于
Add serial port debug macros for the SCIF(A) serial ports. This includes all supported shmobile SoCs, except for EMEV2. The configuration logic (both Kconfig and #ifdef) is more complicated than one would expect, for several reasons: 1. Not all SoCs have the same serial devices, and they're not always at the same addresses. 2. There are two different types: SCIF and SCIFA. Fortunately they can easily be distinguished by physical address. 3. Not all boards use the same serial port for the console. The defaults correspond to the boards that are supported in mainline. If you want to use a different serial port, just change the value of CONFIG_DEBUG_UART_PHYS, and the rest will auto-adapt. 4. debug_ll_io_init() maps the SCIF(A) registers to a fixed virtual address. 0xfdxxxxxx was chosen, as it should lie below VMALLOC_END = 0xff000000, and must not conflict with the 2 MiB reserved region at PCI_IO_VIRT_BASE = 0xfee00000. - On SoCs not using the legacy machine_desc.map_io(), debug_ll_io_init() is called by the ARM core code. - On SoCs using the legacy machine_desc.map_io(), debug_ll_io_init() must be called explicitly. Calls are added for r8a7740, r8a7779, sh7372, and sh73a0. This was derived from the r8a7790 version by Laurent Pinchart. Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: NArnd Bergmann <arnd@arndb.de> Tested-by: NSimon Horman <horms+renesas@verge.net.au> Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
-
- 25 9月, 2014 1 次提交
-
-
由 Carlo Caione 提交于
Add the UART definitions needed to support earlyprintk for MesonX SoCs on UARTAO. Signed-off-by: NCarlo Caione <carlo@caione.org> Signed-off-by: NArnd Bergmann <arnd@arndb.de>
-
- 18 9月, 2014 1 次提交
-
-
由 Florian Fainelli 提交于
Broadcom BCM63xx DSL SoCs have a different UART implementation for which we need specially crafted low-level debug assembly code to support. Add support for this using the standard definitions provided in include/linux/serial_bcm63xx.h (shared with their MIPS counterparts). Acked-by: NArnd Bergmann <arnd@arndb.de> Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
-
- 19 7月, 2014 1 次提交
-
-
由 Tomasz Figa 提交于
Move debug-macro.S from mach/include to include/debug where all other common debug macros are. Signed-off-by: NTomasz Figa <t.figa@samsung.com> Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
-
- 07 7月, 2014 1 次提交
-
-
由 Alexander Shiyan 提交于
One more step to allowing CLPS711X to participate in the multi-platform defconfig. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NOlof Johansson <olof@lixom.net>
-
- 26 5月, 2014 1 次提交
-
-
由 Heiko Stuebner 提交于
Move debug-macro.S from mach/include to include/debug where all other common debug macros are. Signed-off-by: NHeiko Stuebner <heiko@sntech.de> Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
-
- 23 5月, 2014 1 次提交
-
-
由 Ivan T. Ivanov 提交于
Separate Qualcomm low-level debugging UART to two options. DEBUG_MSM_UART is used in earlier non-multi platform arches, like MSM7X00A, QSD8X50 and MSM7X30. DEBUG_QCOM_UARTDM is used in multi-plafrom arches and have embedded data mover. Make DEBUG_UART_PHYS and DEBUG_UART_BASE user adjustable by Kconfig menu. Signed-off-by: NIvan T. Ivanov <iivanov@mm-sol.com> Reviewed-by: NStephen Boyd <sboyd@codeaurora.org> Tested-by: NStephen Boyd <sboyd@codeaurora.org> Signed-off-by: NKumar Gala <galak@codeaurora.org>
-
- 20 5月, 2014 2 次提交
-
-
由 Michal Simek 提交于
Enable ARCH_SUPPORTS_BIG_ENDIAN in Kconfig. zynq_secondary_trampoline is the first function that is called on secondary CPU. Reference: "ARM: mcpm: fix big endian issue in mcpm startup code" (sha1: 519ceb9f) Fix early printk support. Based on: "ARM: pl01x debug code endian fix" (sha1: 76e3faf1) Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
Virtual address have to have the same offset within a 2MB aligned section of virtual/phycial address space. Fix uart0 virtual address to be align with physical one. Also remove UART_SIZE which is completely unused. Reported-by: NRuss Smith <russells@google.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 16 5月, 2014 1 次提交
-
-
由 Shawn Guo 提交于
Enable low-level debug support for i.MX6 SoloX by adding the debug port definitions for the SoC. Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
-
- 30 4月, 2014 1 次提交
-
-
由 Stefan Agner 提交于
Add choice for low-level debug UART. Similar to i.MX6, there is a numeric configuration, valid choices are 0 to 3. Note that the kernel assumes that the boot loader initialized clock properly. Signed-off-by: NStefan Agner <stefan@agner.ch> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 22 3月, 2014 1 次提交
-
-
由 Arnd Bergmann 提交于
In a combined ARMv6/v7 kernel, we cannot use the movt/movw instructions to load an immediate, as they are not valid on ARMv6. This changes the file to use an indirect load instead, as lots of other implementations do. Signed-off-by: NArnd Bergmann <arnd@arndb.de> Tested-by: NStephen Warren <swarren@wwwdotorg.org> Acked-by: NStephen Warren <swarren@wwwdotorg.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: linux-tegra@vger.kernel.org
-
- 17 3月, 2014 1 次提交
-
-
由 Michal Simek 提交于
Add missing waituart implementation. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 14 2月, 2014 1 次提交
-
-
由 Sachin Kamat 提交于
regs-serial.h only includes linux/serial_s3c.h. Include this header directly in samsung.S to remove unnecessary platform dependency. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NTushar Behera <tushar.behera@linaro.org> Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
-
- 09 12月, 2013 1 次提交
-
-
由 Greg Ungerer 提交于
Add appropriate UART address definitions and support defines for using the UARTs of the Freescale IMX50 SoC as debug ports. Signed-off-by: NGreg Ungerer <gerg@uclinux.org> Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-
- 05 12月, 2013 2 次提交
-
-
由 Stephen Warren 提交于
Stop writing to the UART clock divider registers in the Tegra DEBUG_LL code. This allows the DEBUG_LL output to use whatever baud rate was set up by the bootloader. Some users are using higher rates than 115200. This removes the only usage of tegra_uart_config[3], so reduce the size allocated for that array. Finally, fix busyuart() so that it only waits for THRE and not TEMT. For some reason, TEMT doesn't get asserted (at least on Tegra30 Beaver) at 9600 baud, even though it does at 115200 baud. This sounds like a HW bug, but I haven't investigated. For reference, U-Boot's serial code has always only checked THRE, and not checked TEMT. Signed-off-by: NStephen Warren <swarren@nvidia.com> Tested-by: NPaul Walmsley <pwalmsley@nvidia.com> Reviewed-by: NThierry Reding <treding@nvidia.com>
-
由 Stephen Warren 提交于
The DEBUG_LL UART address is mapped as an MMU section, hence, the virtual address must be section-aligned. Sections are 1MB without LPAE and 2MB with LPAE. Tegra's virtual address was only aligned to 1MB, and hence the mapping was set up incorrectly with LPAE enabled, thus causing a hang early during boot. Fix this by picking a different virtual address that is aligned to 2MB. Signed-off-by: NStephen Warren <swarren@nvidia.com> Reviewed-by: NThierry Reding <treding@nvidia.com>
-
- 29 10月, 2013 2 次提交
-
-
由 Rohit Vaswani 提交于
Add debug uart support for MSM8974. This patch adds a Kconfig entry and the base address for the debug uart. Signed-off-by: NRohit Vaswani <rvaswani@codeaurora.org> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
由 Uwe Kleine-König 提交于
This implements output of debug messages on efm32 SoCs. Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
-
- 21 10月, 2013 1 次提交
-
-
由 Shawn Guo 提交于
Add low-level debug support for vybrid, so that earlyprintk can be enabled for debugging early boot issue. Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
-