u-boot/include
Alexander Graf 601147b06a serial: bcm283x_mu: Detect disabled serial device
On the raspberry pi, you can disable the serial port to gain dynamic frequency
scaling which can get handy at times.

However, in such a configuration the serial controller gets its rx queue filled
up with zero bytes which then happily get transmitted on to whoever calls
getc() today.

This patch adds detection logic for that case by checking whether the RX pin is
mapped to GPIO15 and disables the mini uart if it is not mapped properly.

That way we can leave the driver enabled in the tree and can determine during
runtime whether serial is usable or not, having a single binary that allows for
uart and non-uart operation.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-09-06 13:18:19 -04:00
..
andestech
asm-generic armv8: Move secure_ram variable out of generic global data 2016-07-15 09:01:43 -07:00
bedbug
cavium armv8: cavium: Add an implementation of ATF calling functions 2016-01-19 22:26:12 +00:00
configs serial: bcm283x_mu: Detect disabled serial device 2016-09-06 13:18:19 -04:00
cramfs
dm serial: bcm283x_mu: Detect disabled serial device 2016-09-06 13:18:19 -04:00
dt-bindings sunxi: Sync dts files with upstream kernel 2016-08-26 16:58:36 +02:00
faraday
fsl-mc driver: net: fsl-mc: flib changes for MC FW 9.0.0 2016-01-27 08:13:10 -08:00
grlib
jffs2
linux xtensa: add support for the xtensa processor architecture [1/2] 2016-08-15 18:46:38 -04:00
lzma
mtd
net
pcmcia
power dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev() 2016-07-27 14:15:07 -06:00
samsung
spmi drivers: Add SPMI bus uclass 2016-04-01 17:18:12 -04:00
synopsys
test tests: Introduce DT overlay tests 2016-08-20 11:35:07 -04:00
u-boot Kconfig: Move CONFIG_FIT and related options to Kconfig 2016-03-14 19:18:07 -04:00
usb Merge git://git.denx.de/u-boot-fsl-qoriq 2016-07-26 17:34:28 -04:00
zfs
.gitignore cmd: Fix license command 2016-03-22 12:16:13 -04:00
_exports.h
ACEX1K.h
adc.h
addr_map.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
aes.h
ahci.h dm: ahci: Convert to use new DM PCI API 2016-01-12 10:19:09 -07:00
ali512x.h
altera.h fpga: altera: Add StratixV support 2016-03-24 09:47:43 +01:00
ambapp.h
ambapp_ids.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h Properly calculate ATA_SECTORWORDS, using a fixed-size integer, so it works for both 32-bit and 64-bit targets 2016-05-21 01:25:50 +02:00
atmel_hlcdc.h
atmel_lcd.h at91: video: Support driver-model for the LCD driver 2016-06-12 23:49:38 +02:00
atmel_lcdc.h
atmel_mci.h
autoboot.h autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c 2016-06-20 05:19:09 -04:00
axp152.h
axp209.h
axp221.h sunxi: axp: Generalize register macros for VBUS drive GPIO 2016-03-31 17:03:52 +02:00
axp809.h sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
axp818.h sunxi: Implement poweroff support for axp818 pmic 2016-05-25 17:52:39 +02:00
axp_pmic.h sunxi: power: add AXP809 support 2016-05-25 17:52:39 +02:00
backlight.h dm: backlight: Add a backlight uclass 2016-01-21 20:42:36 -07:00
bcd.h
bios_emul.h dm: pci: Convert bios_emu to use the driver model PCI API 2016-01-24 12:07:19 +08:00
bitfield.h
blk.h dm: blk: Add a comment as to why the bdev member is needed 2016-05-17 09:54:43 -06:00
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h bootstage: call show_boot_progress also in SPL 2016-06-09 13:53:08 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h bzip2: Support compression for sandbox 2016-01-20 19:06:23 -07:00
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk-uclass.h clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk.h clk.h: inline clk_get_by_name() 2016-08-15 22:58:03 +02:00
cmd_spl.h
command.h Drop command-processing code when CONFIG_CMDLINE is disabled 2016-04-01 17:17:40 -04:00
common.h Add warn_non_spl() to show a message in U-Boot proper 2016-07-14 18:33:11 -04:00
common_timing_params.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
commproc.h
compiler.h
config_cmd_all.h dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI 2016-05-17 09:54:43 -06:00
config_defaults.h
config_distro_bootcmd.h efi_loader: Fix typo in distro script 2016-06-24 17:24:41 -04:00
config_distro_defaults.h cmd: booti: move CONFIG_CMD_BOOTI to Kconfig 2016-08-20 11:35:08 -04:00
config_fallbacks.h dm: scsi: Rename CONFIG_CMD_SCSI to CONFIG_SCSI 2016-05-17 09:54:43 -06:00
config_fsl_chain_trust.h SECURE_BOOT: Enable SD as a source for bootscript 2016-07-26 09:01:43 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h configs: Re-sync almost all of cmd/Kconfig 2016-04-25 15:09:40 -04:00
console.h
cortina.h
cpsw.h drivers: net: cpsw: Add reading of DT phy-handle node 2016-05-24 11:42:04 -05:00
cpu.h cpu: Add support for microcode version and CPU ID 2016-03-17 10:27:22 +08:00
crc.h include/crc.h: Remove unreferenced cyg_xxx() prototypes 2016-03-14 19:18:42 -04:00
cros_ec.h
cros_ec_message.h
dataflash.h
ddr_spd.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
debug_uart.h debug_uart: output CR along with LF 2016-03-14 15:34:50 -06:00
dfu.h dfu: usb: f_dfu: Set deferred call for dfu_flush() function 2016-02-24 19:12:32 +01:00
dialog_pmic.h
display.h dm: video: Add a operation to display uclass 2016-03-14 22:01:26 +01:00
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma.h dm: implement a DMA uclass 2016-02-23 16:14:45 +05:30
dp83848.h
ds1722.h
ds4510.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
dt-structs.h dm: Add a header that provides access to the of-platdata structs 2016-07-14 20:40:24 -06:00
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h usb: dwc3: Correct datatype of base to unsigned long 2016-06-04 00:43:51 +02:00
dwmmc.h mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit 2016-08-05 14:04:46 +09:00
e500.h
ec_commands.h
edid.h dm: video: Repurpose the 'displayport' uclass to 'display' 2016-01-21 20:42:36 -07:00
eeprom_field.h cmd: eeprom: add support for layout aware commands 2016-05-20 17:02:07 -04:00
eeprom_layout.h cmd: eeprom: add support for layout aware commands 2016-05-20 17:02:07 -04:00
efi.h x86: efi: Fix EFI 64-bit payload build warnings 2016-08-30 09:26:05 +08:00
efi_api.h efi_loader: Add exit support 2016-06-06 13:39:15 -04:00
efi_loader.h efi_loader: Move to normal debug infrastructure 2016-06-06 13:39:16 -04:00
elf.h
env_attr.h
env_callback.h
env_default.h env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD} 2016-06-24 17:23:11 -04:00
env_flags.h net: fix vlan validation 2016-05-03 17:52:11 -05:00
environment.h
errno.h errno: Allow errno_str() to be used without CONFIG_ERRNO_STR 2016-07-05 13:19:08 -07:00
ethsw.h drivers: net: vsc9953: Add LAG support 2016-01-28 12:22:19 -06:00
exports.h
ext4fs.h ext4: Refuse to mount filesystems with 64bit feature set 2016-08-05 07:27:14 -04:00
ext_common.h
exynos_lcd.h exynos: video: Rename variables for driver model 2016-05-25 13:25:18 +09:00
fastboot.h fastboot: sparse: resync common/image-sparse.c (part 2) 2016-06-27 16:37:38 -04:00
fat.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
fb_mmc.h fastboot: sparse: resync common/image-sparse.c (part 2) 2016-06-27 16:37:38 -04:00
fb_nand.h fastboot: sparse: resync common/image-sparse.c (part 2) 2016-06-27 16:37:38 -04:00
fdt.h
fdt_simplefb.h
fdt_support.h fdt_support: fdt_translate_address() blob const correctness 2016-08-12 09:20:27 -06:00
fdtdec.h fdt: allow fdtdec_get_addr_size_*() to translate addresses 2016-08-12 09:20:27 -06:00
fis.h
flash.h flash: add device ID for Microchip PIC32 internal flash. 2016-05-21 01:25:50 +02:00
fm_eth.h
fpga.h fpga: Add bitstream type BIT_NONE 2016-01-27 15:55:54 +01:00
fs.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_ddr_dimm_params.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_ddr_sdram.h driver/ddr/fsl: Add workaround for erratum A-009801 2016-05-17 09:26:53 -07:00
fsl_ddrc_version.h
fsl_debug_server.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h mmc: fsl: introduce wp_enable 2016-06-28 12:08:53 -07:00
fsl_fman.h fm: fdt: Move fman ucode fixup to driver code 2016-02-24 08:51:13 -08:00
fsl_ifc.h
fsl_immap.h
fsl_mdio.h net: tsec: fsl_mdio: Fix several cosmetic issues 2016-01-28 12:22:49 -06:00
fsl_memac.h
fsl_mmdc.h armv8: ls1012a: Update Refresh cycle for DDR 2016-08-02 09:46:02 -07:00
fsl_pmic.h
fsl_qe.h qe: move drivers/qe/qe.h to include/fsl_qe.h 2016-02-24 08:51:13 -08:00
fsl_sec.h crypto/fsl: add support for multiple SEC engines initialization 2016-05-18 08:51:46 -07:00
fsl_sec_mon.h
fsl_secboot_err.h armv8: fsl-lsch3: Add new header for secure boot 2016-03-29 08:46:20 -07:00
fsl_sfp.h armv8: ls2080: Add SFP Configs for LS2080 2016-03-29 08:46:19 -07:00
fsl_tgec.h
fsl_usb.h usb: xhci: fsl: Add workaround for USB erratum A008751 2016-06-13 15:16:46 +02:00
fsl_validate.h powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL 2016-07-21 11:09:23 -07:00
fsl_wdog.h imx_watchdog: always set minimal timeout in reset_cpu 2016-01-07 17:54:53 +01:00
fuse.h
g_dnl.h
gdsys_fpga.h gdsys: Drop print_fpga_state function 2016-07-22 14:46:21 -04:00
gt64120.h
hash.h hash.c: Conditionally compile hash_command, static hash_show 2016-01-13 21:05:08 -05:00
hw_sha.h
hwconfig.h
i2c.h drivers: i2c: mxc: Add early init 2016-06-10 13:44:58 -07:00
i2c_eeprom.h i2c_eeprom: Add reading support 2016-07-22 09:52:59 -04:00
i2s.h
i8042.h input: i8042: Make sure the keyboard is enabled 2016-03-17 10:27:24 +08:00
ide.h dm: ide: Add support for driver-model block devices 2016-05-17 09:54:43 -06:00
image-sparse.h fastboot: sparse: implement reserve() 2016-06-27 16:37:39 -04:00
image.h xtensa: add support for the xtensa processor architecture [1/2] 2016-08-15 18:46:38 -04:00
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h Allow iotrace byte access to use an address of any size 2016-05-17 09:54:43 -06:00
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h lcd: fix the color testpattern in 16bit mode 2016-01-24 00:38:40 +01:00
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libfdt.h libfdt: Add overlay application function 2016-08-20 11:35:04 -04:00
libfdt_env.h libfdt: Add new headers and defines 2016-08-20 11:35:00 -04:00
libtizen.h exynos: Allow tizen to be built without an LCD 2016-05-25 13:25:18 +09:00
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
mailbox-uclass.h mailbox: rename headers 2016-06-19 17:05:55 -06:00
mailbox.h mailbox: rename headers 2016-06-19 17:05:55 -06:00
malloc.h malloc: use hidden visibility 2016-03-08 15:01:47 -05:00
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h net: mii: Clean up legacy glue that is not used 2016-08-15 15:29:04 -05:00
mipi_display.h
misc.h misc: add "call" uclass op 2016-08-12 11:01:22 -06:00
mk48t59.h
mmc.h mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h powerpc/83xx: fix build failure 2016-01-20 10:19:40 -05:00
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h mtd: nand: Add the sunxi NAND controller driver 2016-07-24 20:36:28 -05:00
net.h Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04:00
netdev.h net: Remove unused mv88e61xx switch driver 2016-05-24 11:39:04 -05:00
ns16550.h dm: ns16550: Add support for reg-offset property 2016-03-17 21:27:39 -06:00
ns87308.h
nuvoton_nct6102d.h misc: Add simple driver for some Nuvoton NCT6102D devices 2016-08-16 11:44:09 +08:00
onenand_uboot.h mtd: OneNAND: allow board init function fail 2016-07-22 14:46:12 -04:00
os.h sandbox: Allow chaining from SPL to U-Boot proper 2016-07-14 20:40:24 -06:00
palmas.h
panel.h dm: panel: Add a panel uclass 2016-01-21 20:42:36 -07:00
part.h dm: mmc: Add support for driver-model block devices 2016-05-17 09:54:43 -06:00
part_efi.h
pc_keyb.h
pca953x.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
pca9564.h
pca9698.h
pch.h dm: pch: Add get_io_base op 2016-02-05 12:47:21 +08:00
pci.h pci: make pci_get_hose_head() available to external users 2016-03-21 12:42:12 -07:00
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
pcmcia.h
pe.h efi_loader: Add PE image loader 2016-03-15 15:19:23 -04:00
phy.h net: phy: Add phy_interface_is_sgmii to phy.h 2016-05-24 11:42:05 -05:00
phys2bus.h
physmem.h
post.h
power-domain-uclass.h Add a power domain framework/uclass 2016-07-27 16:29:56 -06:00
power-domain.h Add a power domain framework/uclass 2016-07-27 16:29:56 -06:00
ppc_asm.tmpl powerpc: mpc85xx: Enable pre-relocation malloc for MPC85xx 2016-04-08 15:42:10 -07:00
ppc_defs.h
ps2mult.h
pwm.h dm: pwm: Add a PWM uclass 2016-01-21 20:42:36 -07:00
pwrseq.h dm: Add a power sequencing uclass 2016-01-21 20:42:34 -07:00
pxa_lcd.h
qfw.h cmd: qfw: rename qemu_fw_cfg.[c|h] to qfw.[c|h] 2016-05-23 15:18:00 +08:00
radeon.h
ram.h
rc4.h
regmap.h dm: core: Add an implementation of regmap_init_mem_platdata() 2016-07-14 20:40:24 -06:00
reiserfs.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
remoteproc.h
reset-uclass.h Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
reset.h Add a reset driver framework/uclass 2016-06-19 17:05:55 -06:00
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h dm: sandbox: Add driver-model block-device support for sandbox 2016-03-14 15:34:50 -06:00
sandboxfs.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
sata.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
scf0403_lcd.h
scsi.h
sdhci.h mmc: atmel_sdhci: Convert to the driver model support 2016-08-15 22:58:05 +02:00
search.h
sed156x.h
sed13806.h
serial.h board: am335x: Allow to choose serial device dynamically 2016-05-27 15:47:54 -04:00
sh_pfc.h ARM: rmobile: Add support R8A7795 2016-08-17 10:25:35 +09:00
sh_tmu.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h
smsc_sio1007.h superio: Add SMSC SIO1007 driver 2016-02-21 13:42:52 +08:00
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h dm: spi: introduce dm api 2016-05-17 09:54:43 -06:00
spi_flash.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
spl.h spl: support loading from UBI volumes 2016-07-22 09:53:00 -04:00
splash.h splash: Introduce default_splash_locations 2016-07-26 08:47:37 +02:00
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sy8106a.h sunxi: power: add support for sy8106a driver 2016-02-23 20:50:07 +01:00
sym53c8xx.h
syscon.h dm: syscon: Add support for of-platdata 2016-07-14 20:40:24 -06:00
sysreset.h Rename reset to sysreset 2016-05-26 20:48:31 -06:00
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
timer.h timer: Provide an early timer 2016-02-26 08:53:10 -07:00
timestamp.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h net: tsec: Use priv->tbiaddr to initialize TBI PHY address 2016-01-28 12:23:19 -06:00
tsi108.h
tsi148.h
twl4030.h
twl6030.h input: TWL6030 input support for power button, USB and charger 2016-03-15 15:12:57 -04:00
tws.h
ubi_uboot.h
ubifs_uboot.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
ubispl.h spl: Lightweight UBI and UBI fastmap support 2016-07-22 09:53:00 -04:00
universe.h
usb.h dm: usb: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h usb: eth: add Realtek RTL8152B/RTL8153 DRIVER 2016-01-23 16:22:34 +01:00
usb_mass_storage.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
usbdescriptors.h
usbdevice.h Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h video: Add an enum for active low/high 2016-05-25 13:25:18 +09:00
video_bridge.h
video_console.h video: Provide a backspace method 2016-01-30 10:55:37 +01:00
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h drivers: net: vsc9953: Add LAG support 2016-01-28 12:22:19 -06:00
vsprintf.h vsprintf: Include stdarg for va_list 2016-08-20 11:34:59 -04:00
vxworks.h
w83c553f.h
wait_bit.h lib: Add wait_for_bit 2016-01-25 10:39:47 -05:00
watchdog.h Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot 2016-05-27 15:39:54 -04:00
winbond_w83627.h misc: Add simple driver to enable the legacy UART on Winbond Super IO chips 2016-01-28 13:53:30 +08:00
xilinx.h
xyzModem.h
zfs_common.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
zynqpl.h