[U-Boot] [PATCH 02/20] arm: MediaTek: add basic support for MT7629 boards

Matthias Brugger matthias.bgg at gmail.com
Tue Oct 2 14:29:13 UTC 2018



On 02/10/2018 08:13, Ryder Lee wrote:
> This adds a general board file based on MT7629 SoCs from MediaTek.
> 
> Apart from the generic parts (cpu) we add some low level init codes and
> initialize the early clocks.
> 
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
> ---
>  arch/arm/Kconfig                              |  14 +++
>  arch/arm/Makefile                             |   1 +
>  arch/arm/mach-mediatek/Kconfig                |  24 +++++
>  arch/arm/mach-mediatek/Makefile               |   6 ++
>  arch/arm/mach-mediatek/cpu.c                  |  34 ++++++
>  arch/arm/mach-mediatek/include/mach/chipid.h  |  17 +++
>  arch/arm/mach-mediatek/include/mach/gpio.h    |   9 ++
>  arch/arm/mach-mediatek/init.h                 |  11 ++
>  arch/arm/mach-mediatek/mt7629/Makefile        |   4 +
>  arch/arm/mach-mediatek/mt7629/init.c          | 142 ++++++++++++++++++++++++++
>  arch/arm/mach-mediatek/mt7629/lowlevel_init.S |  50 +++++++++
>  arch/arm/mach-mediatek/spl.c                  |  43 ++++++++
>  board/mediatek/mt7629/Kconfig                 |  17 +++
>  board/mediatek/mt7629/MAINTAINERS             |   7 ++
>  board/mediatek/mt7629/Makefile                |   4 +
>  board/mediatek/mt7629/mt7629_rfb.c            |  16 +++
>  include/configs/mt7629.h                      |  68 ++++++++++++
>  17 files changed, 467 insertions(+)
>  create mode 100644 arch/arm/mach-mediatek/Kconfig
>  create mode 100644 arch/arm/mach-mediatek/Makefile
>  create mode 100644 arch/arm/mach-mediatek/cpu.c
>  create mode 100644 arch/arm/mach-mediatek/include/mach/chipid.h
>  create mode 100644 arch/arm/mach-mediatek/include/mach/gpio.h
>  create mode 100644 arch/arm/mach-mediatek/init.h
>  create mode 100644 arch/arm/mach-mediatek/mt7629/Makefile
>  create mode 100644 arch/arm/mach-mediatek/mt7629/init.c
>  create mode 100644 arch/arm/mach-mediatek/mt7629/lowlevel_init.S
>  create mode 100644 arch/arm/mach-mediatek/spl.c
>  create mode 100644 board/mediatek/mt7629/Kconfig
>  create mode 100644 board/mediatek/mt7629/MAINTAINERS
>  create mode 100644 board/mediatek/mt7629/Makefile
>  create mode 100644 board/mediatek/mt7629/mt7629_rfb.c
>  create mode 100644 include/configs/mt7629.h
> 
[...]

> diff --git a/board/mediatek/mt7629/Makefile b/board/mediatek/mt7629/Makefile
> new file mode 100644
> index 0000000..aa8790c
> --- /dev/null
> +++ b/board/mediatek/mt7629/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier:	GPL-2.0+
> +
> +obj-y += mt7629_rfb.o
> +

new blank line at EOF.


More information about the U-Boot mailing list