1. 22 11月, 2015 4 次提交
  2. 21 11月, 2015 3 次提交
  3. 13 11月, 2015 1 次提交
  4. 04 11月, 2015 1 次提交
  5. 23 10月, 2015 2 次提交
  6. 21 10月, 2015 2 次提交
  7. 04 10月, 2015 1 次提交
  8. 03 9月, 2015 1 次提交
  9. 02 9月, 2015 1 次提交
  10. 13 8月, 2015 1 次提交
  11. 10 8月, 2015 1 次提交
    • H
      dm: serial: Add a REQUIRE_SERIAL_CONSOLE option for boards with no serial port · 8c458588
      Hans de Goede 提交于
      Currently the serial code assumes that there is always at least one serial
      port (and panics / crashes due to null pointer dereferences when there is
      none).
      
      This makes it impossible to use u-boot on boards where there is no (debug)
      serial port, because e.g. all uart pins are muxed to another function.
      
      This commit adds a CONFIG_REQUIRE_SERIAL_CONSOLE Kconfig option, which
      defaults to y (preserving existing behavior), which can be set to n on
      such boards to make them work.
      
      This commit only implements this for CONFIG_DM_SERIAL=y configs, as allowing
      running without a serial port for CONFIG_DM_SERIAL=n configs is non trivial,
      and is not necessary at this moment.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      8c458588
  12. 06 8月, 2015 1 次提交
  13. 05 8月, 2015 2 次提交
  14. 11 6月, 2015 1 次提交
  15. 31 5月, 2015 1 次提交
  16. 23 4月, 2015 1 次提交
  17. 19 2月, 2015 2 次提交
    • S
      serial: ns16550: Support debug UART · 21d00436
      Simon Glass 提交于
      Add debug UART functions to permit ns16550 to provide an early debug UART.
      Try to avoid using the stack so that this can be called from assembler before
      a stack is set up (at least on ARM and PowerPC).
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      21d00436
    • S
      serial: Support an early UART for debugging · 2f964aa7
      Simon Glass 提交于
      This came up in a discussion on the mailing list here:
      
      https://patchwork.ozlabs.org/patch/384613/
      
      My concerns at the time were:
      - it doesn't need to be written in assembler
      - it doesn't need to be ARM-specific
      
      This patch provides a possible alternative. It works by allowing any serial
      driver to export one init function and provide a putc() function. These
      can be used to output debug data before the real serial driver is available.
      
      This implementation does not depend on driver model, and it is possible for
      it to operate without a stack on some architectures (e.g. PowerPC, ARM). It
      provides the same features as the ARM-specific debug.S but with more UART
      and architecture support.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      2f964aa7
  18. 13 2月, 2015 1 次提交
  19. 24 10月, 2014 2 次提交
  20. 25 9月, 2014 1 次提交
  21. 30 7月, 2014 1 次提交
    • M
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada 提交于
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      dd84058d