-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the Kbuild symbols and Makefiles needed to actually build the ralink code from this series Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/4899/
- Loading branch information
John Crispin
committed
Feb 17, 2013
1 parent
5644da4
commit ae2b5bb
Showing
6 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_DTB_RT305X_EVAL) := rt3052_eval.dtb.o |