mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 16:39:35 +00:00
6f6b7cfa89
This converts the following to Kconfig: CONFIG_CONS_INDEX We have existing entries for this option in a number of places, with different guards on them. They're also sometimes used for things not directly inside of the serial driver. First, introduce a new symbol to guard the use of CONFIG_CONS_INDEX, so that in the case where we don't need this for the serial driver, but for some other use, we can still do it. Next, consolidate all of these into the single entry in drivers/serial/Kconfig. Finally, introduce CONS_INDEX_[023456] so that we can imply a correct value here to make the defconfig side of this smaller. Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Rework a lot of the logic here, such that I took authorship from Adam, but kept his S-o-B line] Signed-off-by: Tom Rini <trini@konsulko.com> |
||
---|---|---|
.. | ||
board.c | ||
board.h | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
mux.c | ||
README |
# Copyright (C) 2018 EETS GmbH - http://www.eets.ch/ # # SPDX-License-Identifier: GPL-2.0+ # Summary ======= This document covers the PDU001 target. Hardware ======== The PDU-001 (Processor and Display Unit) is a plugin card for 19" racks. It is manufactured by EETS GmbH (https://www.eets.ch). The core of the board is a m2 SOM from bytes at work (https://www.bytesatwork.ch) which in turn is based on AM3352 SOC from TI (http://www.ti.com). Customization ============= As usual the console serial interface is set by CONFIG_CONS_INDEX. Best choice is 4 here since UART3 is wired to the connector K2. The Run LED on the PDU-001 can be turned on red by setting CONFIG_RUN_LED_RED or green by setting CONFIG_RUN_LED_GREEN. Setting CONFIG_RUN_LED_OFF will turn off the Run LED. Booting ======= The system boots from either eMMC or SD card cage. It will first try to boot from the SD card cage. If this fails (missing or unbootable SD card) it will try to boot from the internal eMMC. The root file system is always expected to be located in the second partition of the device (eMMC or SD card) that pro- vided the boot loader.