[U-Boot] [RFC PATCH 02/13] serial: S5P/Samsung: refactor and Kconfig-ize UART selection

Simon Glass sjg at chromium.org
Sat Dec 2 03:30:18 UTC 2017


On 29 November 2017 at 18:25, Andre Przywara <andre.przywara at arm.com> wrote:
> Currently the UART used by some Samsung SoCs is selected by the
> generic CONFIG_S5P define. This makes it hard to re-use that UART
> without pulling in the whole of the S5P code. Also the Exynos SoCs
> use this driver, which is in fact a generic Samsung UART driver.
>
> So create a new Kconfig symbol CONFIG_SAMSUNG_UART to reflect this and
> change the existing boards to use this symbol.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---
>  arch/arm/Kconfig              | 1 +
>  arch/arm/mach-s5pc1xx/Kconfig | 2 ++
>  drivers/serial/Kconfig        | 6 ++++++
>  drivers/serial/Makefile       | 2 +-
>  4 files changed, 10 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list