[PATCH V2 1/3] arm/dt: add basic mx51 device tree support
Shawn Guo
shawn.guo at freescale.com
Tue Mar 8 01:17:54 EST 2011
On Mon, Mar 07, 2011 at 09:05:58PM +0800, Jason Liu wrote:
> Signed-off-by: Jason Liu <r64343 at freescale.com>
> ---
> arch/arm/mach-mx5/Kconfig | 8 ++++
> arch/arm/mach-mx5/Makefile | 1 +
> arch/arm/mach-mx5/board-dt.c | 64 +++++++++++++++++++++++++++++++
> arch/arm/mach-mx5/clock-mx51-mx53.c | 43 ++++++++++++++++++++-
> arch/arm/plat-mxc/include/mach/common.h | 1 +
> 5 files changed, 116 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
> index de4fa99..6438f87 100644
> --- a/arch/arm/mach-mx5/Kconfig
> +++ b/arch/arm/mach-mx5/Kconfig
> @@ -47,6 +47,14 @@ config MACH_MX51_BABBAGE
> u-boot. This includes specific configurations for the board and its
> peripherals.
>
> +config MACH_MX51_DT
> + bool "Generic MX51 board (FDT support)"
> + select USE_OF
> + select SOC_IMX51
> + help
> + Support for generic Freescale i.MX51 boards using Flattened Device
> + Tree.
> +
> config MACH_MX51_3DS
> bool "Support MX51PDK (3DS)"
> select SOC_IMX51
> diff --git a/arch/arm/mach-mx5/Makefile b/arch/arm/mach-mx5/Makefile
> index 0d43be9..540697e 100644
> --- a/arch/arm/mach-mx5/Makefile
> +++ b/arch/arm/mach-mx5/Makefile
> @@ -18,3 +18,4 @@ obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += board-cpuimx51sd.o
> obj-$(CONFIG_MACH_EUKREA_MBIMXSD51_BASEBOARD) += eukrea_mbimxsd-baseboard.o
> obj-$(CONFIG_MACH_MX51_EFIKAMX) += board-mx51_efikamx.o
> obj-$(CONFIG_MACH_MX50_RDP) += board-mx50_rdp.o
> +obj-$(CONFIG_MACH_MX51_DT) += board-dt.o
If board-dt.c is mx51 specific, would it be sane to name it something
like board-mx51-dt.c? We have mx53 stuff in this folder as well.
--
Regards,
Shawn
More information about the devicetree-discuss
mailing list