Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360071
b: refs/heads/master
c: ae2b5bb
h: refs/heads/master
i:
  360069: e5c4723
  360067: 768dcf8
  360063: 1933d5d
v: v3
  • Loading branch information
John Crispin committed Feb 17, 2013
1 parent 41f9b0a commit 261e87b
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5644da4f635a30fc03b4f12d81b2197d716d9cef
refs/heads/master: ae2b5bb6570481b50a7175c64176b82da0a81836
1 change: 1 addition & 0 deletions trunk/arch/mips/Kbuild.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ platforms += pmc-sierra
platforms += pnx833x
platforms += pnx8550
platforms += powertv
platforms += ralink
platforms += rb532
platforms += sgi-ip22
platforms += sgi-ip27
Expand Down
17 changes: 17 additions & 0 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,22 @@ config POWERTV
help
This enables support for the Cisco PowerTV Platform.

config RALINK
bool "Ralink based machines"
select CEVT_R4K
select CSRC_R4K
select BOOT_RAW
select DMA_NONCOHERENT
select IRQ_CPU
select USE_OF
select SYS_HAS_CPU_MIPS32_R1
select SYS_HAS_CPU_MIPS32_R2
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_LITTLE_ENDIAN
select SYS_HAS_EARLY_PRINTK
select HAVE_MACH_CLKDEV
select CLKDEV_LOOKUP

config SGI_IP22
bool "SGI IP22 (Indy/Indigo2)"
select FW_ARC
Expand Down Expand Up @@ -849,6 +865,7 @@ source "arch/mips/lantiq/Kconfig"
source "arch/mips/lasat/Kconfig"
source "arch/mips/pmc-sierra/Kconfig"
source "arch/mips/powertv/Kconfig"
source "arch/mips/ralink/Kconfig"
source "arch/mips/sgi-ip27/Kconfig"
source "arch/mips/sibyte/Kconfig"
source "arch/mips/txx9/Kconfig"
Expand Down
32 changes: 32 additions & 0 deletions trunk/arch/mips/ralink/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
if RALINK

choice
prompt "Ralink SoC selection"
default SOC_RT305X
help
Select Ralink MIPS SoC type.

config SOC_RT305X
bool "RT305x"
select USB_ARCH_HAS_HCD
select USB_ARCH_HAS_OHCI
select USB_ARCH_HAS_EHCI

endchoice

choice
prompt "Devicetree selection"
default DTB_RT_NONE
help
Select the devicetree.

config DTB_RT_NONE
bool "None"

config DTB_RT305X_EVAL
bool "RT305x eval kit"
depends on SOC_RT305X

endchoice

endif
15 changes: 15 additions & 0 deletions trunk/arch/mips/ralink/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
# by the Free Software Foundation.#
# Makefile for the Ralink common stuff
#
# Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
# Copyright (C) 2013 John Crispin <blogic@openwrt.org>

obj-y := prom.o of.o reset.o clk.o irq.o

obj-$(CONFIG_SOC_RT305X) += rt305x.o

obj-$(CONFIG_EARLY_PRINTK) += early_printk.o

obj-y += dts/
10 changes: 10 additions & 0 deletions trunk/arch/mips/ralink/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Ralink SoC common stuff
#
core-$(CONFIG_RALINK) += arch/mips/ralink/
cflags-$(CONFIG_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink

#
# Ralink RT305x
#
load-$(CONFIG_SOC_RT305X) += 0xffffffff80000000
1 change: 1 addition & 0 deletions trunk/arch/mips/ralink/dts/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o

0 comments on commit 261e87b

Please sign in to comment.