[U-Boot] [PATCH 10/11] imx: imx7d: initial arch level support

Fabio Estevam festevam at gmail.com
Sun Jul 19 01:52:42 CEST 2015


On Wed, Jul 15, 2015 at 7:49 PM, Adrian Alonso <aalonso at freescale.com> wrote:
> * Introduce a new cpu type MXC_CPU_MX7D and relevant functions for mx7d.
>   Implement the soc.c for various system level functions like:
>     temperature check, arch init, get mac fuse, boot mode get/apply, etc.
> * Additional, enable building imx common platform files for mx7d.
>
> Signed-off-by: Adrian Alonso <aalonso at freescale.com>
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Signed-off-by: Ye.Li <B37916 at freescale.com>
> ---
>  arch/arm/Kconfig                            |    7 +
>  arch/arm/Makefile                           |    4 +-
>  arch/arm/cpu/armv7/Makefile                 |    3 +-
>  arch/arm/cpu/armv7/mx7/Makefile             |    9 +
>  arch/arm/cpu/armv7/mx7/clock.c              | 1130 +++++++++++
>  arch/arm/cpu/armv7/mx7/clock_slice.c        |  757 +++++++
>  arch/arm/cpu/armv7/mx7/hab.c                |  277 +++
>  arch/arm/cpu/armv7/mx7/soc.c                |  409 ++++
>  arch/arm/imx-common/Makefile                |   17 +-
>  arch/arm/imx-common/cpu.c                   |   17 +
>  arch/arm/imx-common/timer.c                 |    9 +-
>  arch/arm/include/asm/arch-imx/cpu.h         |    1 +
>  arch/arm/include/asm/arch-mx7/clock.h       |  348 ++++
>  arch/arm/include/asm/arch-mx7/clock_slice.h |  116 ++
>  arch/arm/include/asm/arch-mx7/crm_regs.h    | 2813 +++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-mx7/gpio.h        |   12 +
>  arch/arm/include/asm/arch-mx7/hab.h         |   69 +
>  arch/arm/include/asm/arch-mx7/imx-regs.h    | 1303 +++++++++++++
>  arch/arm/include/asm/arch-mx7/mx7-pins.h    |   19 +
>  arch/arm/include/asm/arch-mx7/mx7d_pins.h   | 1308 +++++++++++++
>  arch/arm/include/asm/arch-mx7/sys_proto.h   |   45 +
>  arch/arm/include/asm/imx-common/boot_mode.h |   21 +
>  drivers/watchdog/Makefile                   |    2 +-
>  23 files changed, 8688 insertions(+), 8 deletions(-)

Wow! This is too big to review. Please split in smaller pieces.

>  create mode 100644 arch/arm/cpu/armv7/mx7/Makefile
>  create mode 100644 arch/arm/cpu/armv7/mx7/clock.c
>  create mode 100644 arch/arm/cpu/armv7/mx7/clock_slice.c
>  create mode 100644 arch/arm/cpu/armv7/mx7/hab.c
>  create mode 100644 arch/arm/cpu/armv7/mx7/soc.c
>  create mode 100644 arch/arm/include/asm/arch-mx7/clock.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/clock_slice.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/crm_regs.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/gpio.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/hab.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/imx-regs.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/mx7-pins.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/mx7d_pins.h
>  create mode 100644 arch/arm/include/asm/arch-mx7/sys_proto.h
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 506463c..40aabb6 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -578,6 +578,12 @@ config TARGET_MX6SXSABRESD
>         select DM
>         select DM_THERMAL
>
> +config TARGET_MX7DSABRESD
> +       bool "Support mx7dsabresd"
> +       select CPU_V7
> +       select DM
> +       select DM_THERMAL

This should not be part of this patch.


More information about the U-Boot mailing list