- 22 11月, 2015 4 次提交
-
-
由 Thomas Chou 提交于
Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py. Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
-
由 Thomas Chou 提交于
Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers is completed. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_rockchip, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Tested-by: NAriel D'Alessandro <ariel@vanguardiasur.com.ar> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_ppc, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> [trini: Add TODO comment] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 21 11月, 2015 3 次提交
-
-
由 Thomas Chou 提交于
Unify serial_x86, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific. The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock(). Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Since commit 220e8021 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reported-by: NEzequiel Garcia <ezequiel@vanguardiasur.com.ar> Reported-by: NAriel D'Alessandro <ariel@vanguardiasur.com.ar> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 13 11月, 2015 1 次提交
-
-
由 Francois Retief 提交于
Signed-off-by: NFrancois Retief <fgretief@spaceteq.co.za>
-
- 04 11月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Add support for the debug UART to assist with early debugging. Enable it for Zybo as an example. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 23 10月, 2015 2 次提交
-
-
由 Thomas Chou 提交于
Convert altera_uart to driver model. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Thomas Chou 提交于
Convert altera_jtag_uart to driver model. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Acked-by: NMarek Vasut <marex@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 21 10月, 2015 2 次提交
-
-
由 Simon Glass 提交于
It is useful to see a message from the debug UART early during boot so that you know things are working. Add an option to enable this. The message will be displayed as soon as debug_uart_init() is called. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
Some boards need to set things up before the debug UART can be used. On these boards a call to debug_uart_init() is insufficient. When this option is enabled, the function board_debug_uart_init() will be called when debug_uart_init() is called. You can put any code here that is needed to set up the UART ready for use, such as set pin multiplexing or enable clocks. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 04 10月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
It looks like this line was copy-pasted, but not modified. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 03 9月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Add support for the Rockchip serial device using the ns16550 driver. This uses driver model and device tree for both SPL and U-Boot proper. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 02 9月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
SANDBOX_SERIAL depends on SANDBOX, and SANDBOX selects DM. So, "SANDBOX_SERIAL depends on DM" is redundant. Likewise, UNIPHIER_SERIAL depends on ARCH_UNIPHIER, and ARCH_UNIPHIER selects DM_SERIAL. So, "UNIPHIER_SERIAL depends on DM_SERIAL" is redundant. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 13 8月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
The menuconfig for drivers are getting more and more cluttered and unreadable because too many entries are displayed in a single flat menu. Use hierarchic menu for each category. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NSimon Glass <sjg@chromium.org> [trini: Update to apply again in a few places, drop USB hunk] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 10 8月, 2015 1 次提交
-
-
由 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>
-
- 06 8月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Add a debug UART implementation for this serial driver. It does not set up pinmux automatically - this must be done before calling debug_uart_init(). Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 05 8月, 2015 2 次提交
-
-
由 Simon Glass 提交于
Add a serial driver which makes use of EFI's console in/out service. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Tested on Intel Crown Bay and QEMU Tested-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
Move this config option to Kconfig and tidy up. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 11 6月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Move this over to Kconfig and tidy up. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 31 5月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
The business for UniPhier Soc family has been transferred from Panasonic Corporation to Socionext Inc. Update the SoC select menu in Kconfig. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 23 4月, 2015 1 次提交
-
-
由 Simon Glass 提交于
This UART permits different register spacing. To support the debug UART on devices which have a spacing other than 1 byte, allow the shift value to be specified. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 19 2月, 2015 2 次提交
-
-
由 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>
-
由 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>
-
- 13 2月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Expand the help messages for each driver. Add missing Kconfig for I2C, SPI flash and thermal. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
-
- 24 10月, 2014 2 次提交
-
-
由 Masahiro Yamada 提交于
Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
Create entries of CONFIG_DM, CONFIG_DM_SERIAL, CONFIG_DM_GPIO and CONFIG_DM_SPI. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 25 9月, 2014 1 次提交
-
-
由 Masahiro Yamada 提交于
This would be useful to start moving various config options. Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org>
-
- 30 7月, 2014 1 次提交
-
-
由 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>
-