[at91] revamp target: add support for netusg20 board
[openwrt-github/.git] / target / linux / at91 / patches / 800-netus-support.patch
1 --- a/arch/arm/mach-at91/Kconfig
2 +++ b/arch/arm/mach-at91/Kconfig
3 @@ -354,6 +354,13 @@ config MACH_CPU9G20
4           Select this if you are using a Eukrea Electromatique's
5           CPU9G20 Board <http://www.eukrea.com/>
6  
7 +config MACH_NETUS_FOXBOARD
8 +       bool "Acmesystems NetusG20 board"
9 +       depends on ARCH_AT91SAM9G20
10 +       help
11 +         Select this if you are using a Acmesystems NetusG20
12 +         board <http://netus.acmesystems.it/>
13 +
14  endif
15  
16  # ----------------------------------------------------------
17 @@ -444,6 +451,26 @@
18           On AT91SAM926x boards both types of NAND flash can be present
19           (8 and 16 bit data bus width).
20  
21 +config NETUS_HEARTBEAT_LED
22 +       bool "Use heartbeat trigger for led"
23 +       depends on MACH_NETUS_FOXBOARD
24 +       help
25 +         Select this option to enable default trigger heartbeart for
26 +         FoxBoardG20 red led.
27 +
28 +config NETUS_SERIALS
29 +       bool "Enable serials"
30 +       depends on MACH_NETUS_FOXBOARD
31 +       help
32 +         Select this option to enable serials interface /dev/ttyS1,
33 +         /dev/ttyS2 and /dev/ttyS5 (for oLed interface)
34 +
35 +config NETUS_USE_DATAFLASH
36 +       bool "Enable the dataflash"
37 +       depends on MACH_NETUS_FOXBOARD
38 +       help
39 +         Select this option to use the dataflash.
40 +
41  # ----------------------------------------------------------
42  
43  comment "AT91 Feature Selections"
44 --- a/arch/arm/mach-at91/Makefile
45 +++ b/arch/arm/mach-at91/Makefile
46 @@ -62,6 +62,7 @@ obj-$(CONFIG_MACH_AT91SAM9RLEK)       += board
47  obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
48  obj-$(CONFIG_MACH_AT91SAM9G20EK_2MMC) += board-sam9g20ek-2slot-mmc.o
49  obj-$(CONFIG_MACH_CPU9G20)     += board-cpu9krea.o
50 +obj-$(CONFIG_MACH_NETUS_FOXBOARD) += board-netus-foxboard.o
51  
52  # AT91SAM9G45 board-specific support
53  obj-$(CONFIG_MACH_AT91SAM9G45EKES) += board-sam9m10g45ek.o
54