OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From 406d86e5990ac171f18ef6e2973672d8fbfe1556 Mon Sep 17 00:00:00 2001 |
2 | From: Gabor Juhos <juhosg@openwrt.org> |
||
3 | Date: Wed, 20 Feb 2013 08:40:33 +0100 |
||
4 | Subject: [PATCH] powerpc: 85xx: add support for the TP-Link TL-WDR4900 v1 |
||
5 | board |
||
6 | |||
7 | This patch adds support for the TP-Link TL-WDR4900 v1 |
||
8 | concurrent dual-band wireless router. The devices uses |
||
9 | the Freescale P1014 SoC. |
||
10 | |||
11 | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> |
||
12 | --- |
||
13 | arch/powerpc/boot/Makefile | 3 + |
||
14 | arch/powerpc/boot/wrapper | 4 + |
||
15 | arch/powerpc/platforms/85xx/Kconfig | 11 ++ |
||
16 | arch/powerpc/platforms/85xx/Makefile | 1 + |
||
17 | |||
18 | --- a/arch/powerpc/boot/Makefile |
||
19 | +++ b/arch/powerpc/boot/Makefile |
||
20 | @@ -164,6 +164,7 @@ src-plat-$(CONFIG_PPC_PSERIES) += pserie |
||
21 | src-plat-$(CONFIG_PPC_POWERNV) += pseries-head.S |
||
22 | src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S |
||
23 | src-plat-$(CONFIG_MVME7100) += motload-head.S mvme7100.c |
||
24 | +src-plat-$(CONFIG_TL_WDR4900_V1) += cuboot-tl-wdr4900-v1.c |
||
25 | |||
26 | src-wlib := $(sort $(src-wlib-y)) |
||
27 | src-plat := $(sort $(src-plat-y)) |
||
28 | @@ -343,7 +344,7 @@ image-$(CONFIG_TQM8555) += cuImage.tqm |
||
29 | image-$(CONFIG_TQM8560) += cuImage.tqm8560 |
||
30 | image-$(CONFIG_SBC8548) += cuImage.sbc8548 |
||
31 | image-$(CONFIG_KSI8560) += cuImage.ksi8560 |
||
32 | - |
||
33 | +image-$(CONFIG_TL_WDR4900_V1) += cuImage.tl-wdr4900-v1 |
||
34 | # Board ports in arch/powerpc/platform/86xx/Kconfig |
||
35 | image-$(CONFIG_MVME7100) += dtbImage.mvme7100 |
||
36 | |||
37 | --- a/arch/powerpc/boot/wrapper |
||
38 | +++ b/arch/powerpc/boot/wrapper |
||
39 | @@ -277,6 +277,10 @@ cuboot*) |
||
40 | *-mpc85*|*-tqm85*|*-sbc85*) |
||
41 | platformo=$object/cuboot-85xx.o |
||
42 | ;; |
||
43 | + *-tl-wdr4900-v1) |
||
44 | + platformo=$object/cuboot-tl-wdr4900-v1.o |
||
45 | + link_address='0x1000000' |
||
46 | + ;; |
||
47 | *-amigaone) |
||
48 | link_address='0x800000' |
||
49 | ;; |
||
50 | --- a/arch/powerpc/platforms/85xx/Kconfig |
||
51 | +++ b/arch/powerpc/platforms/85xx/Kconfig |
||
52 | @@ -170,6 +170,18 @@ config STX_GP3 |
||
53 | select CPM2 |
||
54 | select DEFAULT_UIMAGE |
||
55 | |||
56 | +config TL_WDR4900_V1 |
||
57 | + bool "TP-Link TL-WDR4900 v1" |
||
58 | + select DEFAULT_UIMAGE |
||
59 | + select ARCH_REQUIRE_GPIOLIB |
||
60 | + select GPIO_MPC8XXX |
||
61 | + select SWIOTLB |
||
62 | + help |
||
63 | + This option enables support for the TP-Link TL-WDR4900 v1 board. |
||
64 | + |
||
65 | + This board is a Concurrent Dual-Band wireless router with a |
||
66 | + Freescale P1014 SoC. |
||
67 | + |
||
68 | config TQM8540 |
||
69 | bool "TQ Components TQM8540" |
||
70 | help |
||
71 | --- a/arch/powerpc/platforms/85xx/Makefile |
||
72 | +++ b/arch/powerpc/platforms/85xx/Makefile |
||
73 | @@ -26,6 +26,7 @@ obj-$(CONFIG_CORENET_GENERIC) += coren |
||
74 | obj-$(CONFIG_FB_FSL_DIU) += t1042rdb_diu.o |
||
75 | obj-$(CONFIG_STX_GP3) += stx_gp3.o |
||
76 | obj-$(CONFIG_TQM85xx) += tqm85xx.o |
||
77 | +obj-$(CONFIG_TL_WDR4900_V1) += tl_wdr4900_v1.o |
||
78 | obj-$(CONFIG_SBC8548) += sbc8548.o |
||
79 | obj-$(CONFIG_PPA8548) += ppa8548.o |
||
80 | obj-$(CONFIG_SOCRATES) += socrates.o socrates_fpga_pic.o |