[U-Boot] [PATCH v3 1/6] arm: mvf600: Add Vybrid MVF600 CPU support
Wang Huan-B18965
B18965 at freescale.com
Wed May 22 07:17:53 CEST 2013
Hi, Benoit,
On Tuesday, May 21, 2013 11:02:56 AM, Alison Wang wrote:
> This patch adds generic codes to support Freescale's Vybrid MVF600 CPU.
>
> It aligns Vybrid MVF600 platform with i.MX platform. As there are
> some differences between MVF600 and i.MX platforms, the specific
> codes are in the arch/arm/cpu/armv7/mvf600 directory.
>
> Signed-off-by: Alison Wang <b18965 at freescale.com>
> ---
> Changes in v3:
> - Rename the common functions and enums
> - Move the structure definitions to imx-regs.h
>
> Changes in v2:
> - Remove vybrid-common directory
> - Rename directory name 'vybrid' to 'mvf600'
> - Add generic.c file
> - Rewrite get_reset_cause() to make it readable
> - Remove reset_cpu(), and use the function in imx_watchdog.c
> - Rewrite timer.c file
> - Use vybrid_get_clock(VYBRID_UART_CLK) instead of vybrid_get_uartclk()
> - Remove lowlevel_init.S, and add clock_init() in board_early_init_f()
> - Remove useless CONFIG_SYS_ defines
> - Move CONFIG_MACH_TYPE to board configuration file
> - Define C structures and access C structures to set/read registers
> - Remove useless errata
> - Remove useless macros
> - Rename directory 'arch-vybrid' to 'arch-mvf600'
>
> Makefile | 2 +-
> arch/arm/cpu/armv7/mvf600/Makefile | 42 +++
> arch/arm/cpu/armv7/mvf600/generic.c | 324 ++++++++++++++++++++++
> arch/arm/cpu/armv7/mvf600/timer.c | 103 +++++++
> arch/arm/include/asm/arch-mvf600/clock.h | 39 +++
> arch/arm/include/asm/arch-mvf600/crm_regs.h | 225 +++++++++++++++
> arch/arm/include/asm/arch-mvf600/imx-regs.h | 411
> ++++++++++++++++++++++++++++
> arch/arm/include/asm/arch-mvf600/mvf_pins.h | 92 +++++++
> 8 files changed, 1237 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/cpu/armv7/mvf600/Makefile
> create mode 100644 arch/arm/cpu/armv7/mvf600/generic.c
> create mode 100644 arch/arm/cpu/armv7/mvf600/timer.c
> create mode 100644 arch/arm/include/asm/arch-mvf600/clock.h
> create mode 100644 arch/arm/include/asm/arch-mvf600/crm_regs.h
> create mode 100644 arch/arm/include/asm/arch-mvf600/imx-regs.h
> create mode 100644 arch/arm/include/asm/arch-mvf600/mvf_pins.h
[...]
Since this includes support for OCOTP on this SoC, the following hunks should
also be added:
doc/README.mxc_ocotp:
---
on MXC
This IP can be found on the following SoCs:
+ - Vybrid MVF600,
- i.MX6.
Note that this IP is different from albeit similar to the IPs of the same name
---
doc/README.mvf600:
---
+U-Boot for Freescale Vybrid MVF600
+
+This file contains information for the port of U-Boot to the Freescale Vybrid
+MVF600 SoC.
+
+1. CONVENTIONS FOR FUSE ASSIGNMENTS
+-----------------------------------
+
+1.1 MAC Address: It is stored in fuse bank 4, with the 16 msbs in word 2 and the
+ 32 lsbs in word 3.
---
You can also add the definition of the fuses for UID if any, like uid_low/high
in struct fuse_bank0_regs in arch/arm/include/asm/arch-mx6/imx-regs.h.
[Alison Wang] OK. I will add them. Thanks.
Best regards,
Alison Wang
More information about the U-Boot
mailing list