[U-Boot] [PATCH 3/4] arm: debug: import debug files from Linux 3.16

Stefan Roese sr at denx.de
Tue Aug 19 13:01:21 CEST 2014


Hi Masahiro!

On 17.08.2014 08:16, Masahiro Yamada wrote:
> U-Boot does not have arch/arm/kernel, include/uapi directories,
> This commit copies files as follows:
>
>    Location in Linux               -> Location in U-Boot
>
>    arch/arm/kernel/debug.S         -> arch/arm/lib/debug.S
>    arch/arm/include/debug/8250.S   -> arch/arm/include/debug/8250.S
>    include/uapi/linux/serial_reg.h -> include/linux/serial_reg.h
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

Nice! I have quite often found myself also in the need of an very early 
serial debug output functionality. Thanks for this series. One comment 
below:

> ---
>
>   arch/arm/include/debug/8250.S |  54 ++++++
>   arch/arm/lib/debug.S          | 138 +++++++++++++++
>   include/linux/serial_reg.h    | 389 ++++++++++++++++++++++++++++++++++++++++++
>   3 files changed, 581 insertions(+)
>   create mode 100644 arch/arm/include/debug/8250.S
>   create mode 100644 arch/arm/lib/debug.S
>   create mode 100644 include/linux/serial_reg.h
>
> diff --git a/arch/arm/include/debug/8250.S b/arch/arm/include/debug/8250.S
> new file mode 100644
> index 0000000..7a2baf9
> --- /dev/null
> +++ b/arch/arm/include/debug/8250.S
> @@ -0,0 +1,54 @@
> +/*
> + * arch/arm/include/debug/8250.S
> + *
> + *  Copyright (C) 1994-2013 Russell King
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.

Please use SPDX license identifiers instead. Please fix this globally.

Thanks,
Stefan



More information about the U-Boot mailing list