Skip to content
Snippets Groups Projects
  1. Jan 08, 2015
  2. Dec 18, 2014
  3. Dec 17, 2014
  4. Dec 16, 2014
  5. Dec 14, 2014
  6. Dec 13, 2014
  7. Dec 11, 2014
  8. Dec 09, 2014
  9. Dec 08, 2014
  10. Dec 04, 2014
  11. Dec 03, 2014
  12. Nov 28, 2014
  13. Nov 27, 2014
  14. Nov 26, 2014
  15. Nov 25, 2014
  16. Nov 24, 2014
  17. Nov 21, 2014
  18. Nov 20, 2014
  19. Nov 17, 2014
    • Geert Uytterhoeven's avatar
      ARM: shmobile: Add early debugging support using SCIF(A) · 7a2071c5
      Geert Uytterhoeven authored
      
      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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Tested-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      7a2071c5
Loading