Skip to contentSkip to conversation

arm: add Faraday SoC A320

PATCH In review Po-Yu Chuang 1 participant 2 messages Jun 16, 2011 – Jun 23, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: add Faraday SoC A320

From: Po-Yu Chuang <[email protected]>

---
 arch/arm/Kconfig                                 |   10 +
 arch/arm/Makefile                                |    1 +
 arch/arm/include/asm/serial.h                    |    6 +
 arch/arm/mach-faraday/Kconfig                    |   31 ++
 arch/arm/mach-faraday/Makefile                   |   11 +
 arch/arm/mach-faraday/Makefile.boot              |    4 +
 arch/arm/mach-faraday/board-a320.c               |  239 +++++++++++
 arch/arm/mach-faraday/clock.c                    |   92 +++++
 arch/arm/mach-faraday/clock.h                    |   40 ++
 arch/arm/mach-faraday/ftintc010.c                |  458 ++++++++++++++++++++++
 arch/arm/mach-faraday/ftpmu010.c                 |  296 ++++++++++++++
 arch/arm/mach-faraday/fttmr010.c                 |  283 +++++++++++++
 arch/arm/mach-faraday/include/mach/board-a320.h  |   66 +++
 arch/arm/mach-faraday/include/mach/clkdev.h      |   26 ++
 arch/arm/mach-faraday/include/mach/debug-macro.S |   44 ++
 arch/arm/mach-faraday/include/mach/entry-macro.S |   87 ++++
 arch/arm/mach-faraday/include/mach/ftintc010.h   |   57 +++
 arch/arm/mach-faraday/include/mach/ftpmu010.h    |  166 ++++++++
 arch/arm/mach-faraday/include/mach/fttmr010.h    |   86 ++++
 arch/arm/mach-faraday/include/mach/hardware.h    |   24 ++
 arch/arm/mach-faraday/include/mach/io.h          |   27 ++
 arch/arm/mach-faraday/include/mach/irqs-a320.h   |   59 +++
 arch/arm/mach-faraday/include/mach/irqs.h        |   28 ++
 arch/arm/mach-faraday/include/mach/memory.h      |   27 ++
 arch/arm/mach-faraday/include/mach/serial-a320.h |   53 +++
 arch/arm/mach-faraday/include/mach/serial.h      |   34 ++
 arch/arm/mach-faraday/include/mach/system.h      |   34 ++
 arch/arm/mach-faraday/include/mach/timex.h       |   25 ++
 arch/arm/mach-faraday/include/mach/uncompress.h  |   47 +++
 arch/arm/mach-faraday/include/mach/vmalloc.h     |   24 ++
 arch/arm/mm/Kconfig                              |    4 +-
 arch/arm/tools/mach-types                        |    1 +
 32 files changed, 2388 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/mach-faraday/Kconfig
 create mode 100644 arch/arm/mach-faraday/Makefile
 create mode 100644 arch/arm/mach-faraday/Makefile.boot
 create mode 100644 arch/arm/mach-faraday/board-a320.c
 create mode 100644 arch/arm/mach-faraday/clock.c
 create mode 100644 arch/arm/mach-faraday/clock.h
 create mode 100644 arch/arm/mach-faraday/ftintc010.c
 create mode 100644 arch/arm/mach-faraday/ftpmu010.c
 create mode 100644 arch/arm/mach-faraday/fttmr010.c
 create mode 100644 arch/arm/mach-faraday/include/mach/board-a320.h
 create mode 100644 arch/arm/mach-faraday/include/mach/clkdev.h
 create mode 100644 arch/arm/mach-faraday/include/mach/debug-macro.S
 create mode 100644 arch/arm/mach-faraday/include/mach/entry-macro.S
 create mode 100644 arch/arm/mach-faraday/include/mach/ftintc010.h
 create mode 100644 arch/arm/mach-faraday/include/mach/ftpmu010.h
 create mode 100644 arch/arm/mach-faraday/include/mach/fttmr010.h
 create mode 100644 arch/arm/mach-faraday/include/mach/hardware.h
 create mode 100644 arch/arm/mach-faraday/include/mach/io.h
 create mode 100644 arch/arm/mach-faraday/include/mach/irqs-a320.h
 create mode 100644 arch/arm/mach-faraday/include/mach/irqs.h
 create mode 100644 arch/arm/mach-faraday/include/mach/memory.h
 create mode 100644 arch/arm/mach-faraday/include/mach/serial-a320.h
 create mode 100644 arch/arm/mach-faraday/include/mach/serial.h
 create mode 100644 arch/arm/mach-faraday/include/mach/system.h
 create mode 100644 arch/arm/mach-faraday/include/mach/timex.h
 create mode 100644 arch/arm/mach-faraday/include/mach/uncompress.h
 create mode 100644 arch/arm/mach-faraday/include/mach/vmalloc.h
arch/arm/Kconfig +10 -0
index 377a7a5..afeb745 100644
@@ -352,6 +352,14 @@ config ARCH_EP93XX
 	help
 	  This enables support for the Cirrus EP93xx series of CPUs.
 
+config ARCH_FARADAY
+	bool "Faraday All SoC Platforms"
+	select GENERIC_TIME
+	select GENERIC_CLOCKEVENTS
+	select CLKDEV_LOOKUP
+	help
+	   Support for Faraday SoCs.
+
 config ARCH_FOOTBRIDGE
 	bool "FootBridge"
 	select CPU_SA110
@@ -910,6 +918,8 @@ source "arch/arm/mach-dove/Kconfig"
 
 source "arch/arm/mach-ep93xx/Kconfig"
 
+source "arch/arm/mach-faraday/Kconfig"
+
 source "arch/arm/mach-footbridge/Kconfig"
 
 source "arch/arm/mach-gemini/Kconfig"
arch/arm/Makefile +1 -0
index c7d321a..8f9464e 100644
@@ -139,6 +139,7 @@ machine-$(CONFIG_ARCH_DAVINCI)		:= davinci
 machine-$(CONFIG_ARCH_DOVE)		:= dove
 machine-$(CONFIG_ARCH_EBSA110)		:= ebsa110
 machine-$(CONFIG_ARCH_EP93XX)		:= ep93xx
+machine-$(CONFIG_ARCH_FARADAY)		:= faraday
 machine-$(CONFIG_ARCH_GEMINI)		:= gemini
 machine-$(CONFIG_ARCH_H720X)		:= h720x
 machine-$(CONFIG_ARCH_INTEGRATOR)	:= integrator
arch/arm/include/asm/serial.h +6 -0
index ebb0490..f7c9428 100644
@@ -14,6 +14,12 @@
 #ifndef __ASM_SERIAL_H
 #define __ASM_SERIAL_H
 
+#if defined(CONFIG_ARCH_FARADAY)
+#include <mach/serial.h>
+#endif
+
+#ifndef BASE_BAUD
 #define BASE_BAUD	(1843200 / 16)
+#endif
 
 #endif
arch/arm/mach-faraday/Kconfig new file +31 -0
new file mode 100644
index 0000000..0424c2d
@@ -0,0 +1,31 @@
+if ARCH_FARADAY
+
+choice
+	prompt "Platform Selection"
+	default PLATFORM_A320
+
+config PLATFORM_A320
+	bool "A320 evaluation board"
+	select FTINTC010
+	select FTPMU010
+	select FTTMR010
+
+endchoice
+
+config FTINTC010
+	bool
+
+config FTINTC010EX
+	bool
+	select FTINTC010
+	help
+	  Newer version of FTINTC010 interrupt controller which supports
+	  up to 64 IRQ.
+
+config FTPMU010
+	bool
+
+config FTTMR010
+	bool
+
+endif
arch/arm/mach-faraday/Makefile new file +11 -0
new file mode 100644
index 0000000..b0878c3
@@ -0,0 +1,11 @@
+#
+# Makefile for the linux kernel.
+#
+
+obj-y				:= clock.o
+
+obj-$(CONFIG_PLATFORM_A320)	+= board-a320.o
+
+obj-$(CONFIG_FTINTC010)		+= ftintc010.o
+obj-$(CONFIG_FTPMU010)		+= ftpmu010.o
+obj-$(CONFIG_FTTMR010)		+= fttmr010.o
arch/arm/mach-faraday/Makefile.boot new file +4 -0
new file mode 100644
index 0000000..c7e75ac
@@ -0,0 +1,4 @@
+   zreladdr-y	:= 0x00008000
+params_phys-y	:= 0x00000100
+initrd_phys-y	:= 0x00800000
+
arch/arm/mach-faraday/board-a320.c new file +239 -0

239 lines not on this page · raw message

arch/arm/mach-faraday/clock.c new file +92 -0

92 lines not on this page · raw message

arch/arm/mach-faraday/clock.h new file +40 -0
new file mode 100644
index 0000000..1635c38
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2010-2011 Faraday Technology
+ * Po-Yu Chuang <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ARCH_ARM_FARADAY_CLOCK_H
+#define __ARCH_ARM_FARADAY_CLOCK_H
+
+struct clk {
+	struct clk	*parent;
+	int		users;
+	unsigned long	rate;
+	void __iomem	*base;	/* base address of controller if any */
+	unsigned long	(*get_rate)(struct clk *);
+	int		(*mode)(struct clk *, int);
+	void		*params;
+};
+
+/*
+ * These functions assume that lock is already held.
+ */
+void __clk_enable(struct clk *clk);
+void __clk_disable(struct clk *clk);
+unsigned long __clk_get_rate(struct clk *clk);
+
+#endif
arch/arm/mach-faraday/ftintc010.c new file +458 -0

458 lines not on this page · raw message

arch/arm/mach-faraday/ftpmu010.c new file +296 -0

296 lines not on this page · raw message

arch/arm/mach-faraday/fttmr010.c new file +283 -0

283 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/board-a320.h new file +66 -0

66 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/clkdev.h new file +26 -0
new file mode 100644
index 0000000..7399304
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2010-2011 Faraday Technology
+ * Po-Yu Chuang <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_MACH_CLKDEV_H
+#define __ASM_MACH_CLKDEV_H
+
+#define __clk_get(clk) ({ 1; })
+#define __clk_put(clk) do { } while (0)
+
+#endif
arch/arm/mach-faraday/include/mach/debug-macro.S new file +44 -0

44 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/entry-macro.S new file +87 -0

87 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/ftintc010.h new file +57 -0

57 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/ftpmu010.h new file +166 -0

166 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/fttmr010.h new file +86 -0

86 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/hardware.h new file +24 -0
new file mode 100644
index 0000000..81c894e
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARCH_HARDWARE_H
+#define __ASM_ARCH_HARDWARE_H
+
+#include <mach/board-a320.h>
+
+#endif /* __ASM_ARCH_HARDWARE_H */
arch/arm/mach-faraday/include/mach/io.h new file +27 -0
new file mode 100644
index 0000000..58652e7
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARM_ARCH_IO_H
+#define __ASM_ARM_ARCH_IO_H
+
+#define IO_SPACE_LIMIT      0xffffffff
+
+#define __io(a)		__typesafe_io(a)
+#define __mem_pci(a)	(a)
+
+#endif /* __ASM_ARM_ARCH_IO_H */
arch/arm/mach-faraday/include/mach/irqs-a320.h new file +59 -0

59 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/irqs.h new file +28 -0
new file mode 100644
index 0000000..87a43fb
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __MACH_IRQS_H
+#define __MACH_IRQS_H
+
+#include <mach/irqs-a320.h>
+
+#ifndef NR_IRQS
+#error "NR_IRQS not defined by the board-specific files"
+#endif
+
+#endif /* __MACH_IRQS_H */
arch/arm/mach-faraday/include/mach/memory.h new file +27 -0
new file mode 100644
index 0000000..c48bb79
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARCH_MEMORY_H
+#define __ASM_ARCH_MEMORY_H
+
+#include <asm/sizes.h>
+
+#define PHYS_OFFSET	UL(0x00000000)
+#define MEM_SIZE	SZ_64M
+
+#endif /* __ASM_ARCH_MEMORY_H */
arch/arm/mach-faraday/include/mach/serial-a320.h new file +53 -0

53 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/serial.h new file +34 -0
new file mode 100644
index 0000000..987a8fa
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARCH_SERIAL_H
+#define __ASM_ARCH_SERIAL_H
+
+#include <linux/serial.h>
+
+/*
+ * We use a 18.432MHz clock rather than typical 1.8432 MHz clock for UART.
+ */
+#define UART_CLK	18432000
+
+#define BASE_BAUD	(UART_CLK / 16)
+#define STD_COM_FLAGS	(UPF_BOOT_AUTOCONF)
+
+#include <mach/serial-a320.h>
+
+#endif /* __ASM_ARCH_SERIAL_H */
arch/arm/mach-faraday/include/mach/system.h new file +34 -0
new file mode 100644
index 0000000..632a21c
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H
+
+#include <asm/proc-fns.h>
+
+static inline void arch_idle(void)
+{
+	cpu_do_idle();
+}
+
+static inline void arch_reset(char mode, const char *cmd)
+{
+	/* NOP */
+}
+
+#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/mach-faraday/include/mach/timex.h new file +25 -0
new file mode 100644
index 0000000..ffac83e
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARCH_TIMEX_H
+#define __ASM_ARCH_TIMEX_H
+
+#define CLOCK_TICK_RATE	16588800
+
+#endif /* __ASM_ARCH_TIMEX_H */
+
arch/arm/mach-faraday/include/mach/uncompress.h new file +47 -0

47 lines not on this page · raw message

arch/arm/mach-faraday/include/mach/vmalloc.h new file +24 -0
new file mode 100644
index 0000000..a6fd938
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2005-2011 Faraday Technology
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef __ASM_ARCH_VMALLOC_H
+#define __ASM_ARCH_VMALLOC_H
+
+#define VMALLOC_END	0xe0000000
+
+#endif /* __ASM_ARCH_VMALLOC_H */
arch/arm/mm/Kconfig +2 -2
index 3fc87b1..e174fdf 100644
@@ -163,7 +163,7 @@ config CPU_ARM925T
 
 # ARM926T
 config CPU_ARM926T
-	bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB
+	bool "Support ARM926T processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_FARADAY
 	select CPU_32v5
 	select CPU_ABRT_EV5TJ
 	select CPU_PABRT_LEGACY
@@ -181,7 +181,7 @@ config CPU_ARM926T
 
 # FA526
 config CPU_FA526
-	bool
+	bool  "Support FA526 processor" if ARCH_FARADAY
 	select CPU_32v4
 	select CPU_ABRT_EV4
 	select CPU_PABRT_LEGACY
arch/arm/tools/mach-types +1 -0
index 7ca41f0..452ef36 100644
@@ -153,6 +153,7 @@ anubis			MACH_ANUBIS		ANUBIS			734
 akita			MACH_AKITA		AKITA			744
 e330			MACH_E330		E330			753
 nokia770		MACH_NOKIA770		NOKIA770		755
+faraday			MACH_FARADAY		FARADAY			758
 carmeva			MACH_CARMEVA		CARMEVA			769
 edb9315a		MACH_EDB9315A		EDB9315A		772
 stargate2		MACH_STARGATE2		STARGATE2		774
Signature · 1 line
1.6.3.3
#1 lore raw

Hi all,

Quoted 57 lines · Po-Yu Chuang

From: Po-Yu Chuang <[email protected]>

---

?arch/arm/Kconfig ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? 10 +
?arch/arm/Makefile ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?1 +
?arch/arm/include/asm/serial.h ? ? ? ? ? ? ? ? ? ?| ? ?6 +
?arch/arm/mach-faraday/Kconfig ? ? ? ? ? ? ? ? ? ?| ? 31 ++
?arch/arm/mach-faraday/Makefile ? ? ? ? ? ? ? ? ? | ? 11 +
?arch/arm/mach-faraday/Makefile.boot ? ? ? ? ? ? ?| ? ?4 +
?arch/arm/mach-faraday/board-a320.c ? ? ? ? ? ? ? | ?239 +++++++++++
?arch/arm/mach-faraday/clock.c ? ? ? ? ? ? ? ? ? ?| ? 92 +++++
?arch/arm/mach-faraday/clock.h ? ? ? ? ? ? ? ? ? ?| ? 40 ++
?arch/arm/mach-faraday/ftintc010.c ? ? ? ? ? ? ? ?| ?458 ++++++++++++++++++++++
?arch/arm/mach-faraday/ftpmu010.c ? ? ? ? ? ? ? ? | ?296 ++++++++++++++
?arch/arm/mach-faraday/fttmr010.c ? ? ? ? ? ? ? ? | ?283 +++++++++++++
?arch/arm/mach-faraday/include/mach/board-a320.h ?| ? 66 +++
?arch/arm/mach-faraday/include/mach/clkdev.h ? ? ?| ? 26 ++
?arch/arm/mach-faraday/include/mach/debug-macro.S | ? 44 ++
?arch/arm/mach-faraday/include/mach/entry-macro.S | ? 87 ++++
?arch/arm/mach-faraday/include/mach/ftintc010.h ? | ? 57 +++
?arch/arm/mach-faraday/include/mach/ftpmu010.h ? ?| ?166 ++++++++
?arch/arm/mach-faraday/include/mach/fttmr010.h ? ?| ? 86 ++++
?arch/arm/mach-faraday/include/mach/hardware.h ? ?| ? 24 ++
?arch/arm/mach-faraday/include/mach/io.h ? ? ? ? ?| ? 27 ++
?arch/arm/mach-faraday/include/mach/irqs-a320.h ? | ? 59 +++
?arch/arm/mach-faraday/include/mach/irqs.h ? ? ? ?| ? 28 ++
?arch/arm/mach-faraday/include/mach/memory.h ? ? ?| ? 27 ++
?arch/arm/mach-faraday/include/mach/serial-a320.h | ? 53 +++
?arch/arm/mach-faraday/include/mach/serial.h ? ? ?| ? 34 ++
?arch/arm/mach-faraday/include/mach/system.h ? ? ?| ? 34 ++
?arch/arm/mach-faraday/include/mach/timex.h ? ? ? | ? 25 ++
?arch/arm/mach-faraday/include/mach/uncompress.h ?| ? 47 +++
?arch/arm/mach-faraday/include/mach/vmalloc.h ? ? | ? 24 ++
?arch/arm/mm/Kconfig ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?4 +-
?arch/arm/tools/mach-types ? ? ? ? ? ? ? ? ? ? ? ?| ? ?1 +

?32 files changed, 2388 insertions(+), 2 deletions(-) ?create mode 100644 arch/arm/mach-faraday/Kconfig
?create mode 100644 arch/arm/mach-faraday/Makefile ?create mode 100644 arch/arm/mach-faraday/Makefile.boot ?create mode 100644 arch/arm/mach-faraday/board-a320.c ?create mode 100644 arch/arm/mach-faraday/clock.c
?create mode 100644 arch/arm/mach-faraday/clock.h
?create mode 100644 arch/arm/mach-faraday/ftintc010.c ?create mode 100644 arch/arm/mach-faraday/ftpmu010.c ?create mode 100644 arch/arm/mach-faraday/fttmr010.c ?create mode 100644 arch/arm/mach-faraday/include/mach/board-a320.h ?create mode 100644 arch/arm/mach-faraday/include/mach/clkdev.h ?create mode 100644 arch/arm/mach-faraday/include/mach/debug-macro.S ?create mode 100644 arch/arm/mach-faraday/include/mach/entry-macro.S ?create mode 100644 arch/arm/mach-faraday/include/mach/ftintc010.h ?create mode 100644 arch/arm/mach-faraday/include/mach/ftpmu010.h ?create mode 100644 arch/arm/mach-faraday/include/mach/fttmr010.h ?create mode 100644 arch/arm/mach-faraday/include/mach/hardware.h ?create mode 100644 arch/arm/mach-faraday/include/mach/io.h ?create mode 100644 arch/arm/mach-faraday/include/mach/irqs-a320.h

Quoted 9 lines

?create mode 100644 arch/arm/mach-faraday/include/mach/irqs.h ?create mode 100644 arch/arm/mach-faraday/include/mach/memory.h ?create mode 100644 arch/arm/mach-faraday/include/mach/serial-a320.h ?create mode 100644 arch/arm/mach-faraday/include/mach/serial.h ?create mode 100644 arch/arm/mach-faraday/include/mach/system.h ?create mode 100644 arch/arm/mach-faraday/include/mach/timex.h ?create mode 100644 arch/arm/mach-faraday/include/mach/uncompress.h ?create mode 100644 arch/arm/mach-faraday/include/mach/vmalloc.h

Any comments are appreciated.

Best regards,
Po-Yu Chuang