2009-08-30 22:15:51 +03:00
|
|
|
--- a/arch/mips/Makefile
|
|
|
|
+++ b/arch/mips/Makefile
|
2009-10-01 13:07:32 +03:00
|
|
|
@@ -607,6 +607,26 @@ ifdef CONFIG_PHYSICAL_START
|
|
|
|
load-y = $(CONFIG_PHYSICAL_START)
|
2009-08-30 22:15:51 +03:00
|
|
|
endif
|
|
|
|
|
2009-08-30 22:15:58 +03:00
|
|
|
+#
|
|
|
|
+# Ralink SoC common stuff
|
|
|
|
+#
|
|
|
|
+core-$(CONFIG_MIPS_RALINK) += arch/mips/ralink/common/
|
|
|
|
+cflags-$(CONFIG_MIPS_RALINK) += -I$(srctree)/arch/mips/include/asm/mach-ralink
|
|
|
|
+
|
2009-08-30 22:15:51 +03:00
|
|
|
+#
|
|
|
|
+# Ralink RT288x
|
|
|
|
+#
|
|
|
|
+core-$(CONFIG_RALINK_RT288X) += arch/mips/ralink/rt288x/
|
2009-09-01 22:34:18 +03:00
|
|
|
+cflags-$(CONFIG_RALINK_RT288X) += -I$(srctree)//arch/mips/include/asm/mach-ralink/rt288x
|
2009-08-30 22:15:51 +03:00
|
|
|
+load-$(CONFIG_RALINK_RT288X) += 0xffffffff88000000
|
|
|
|
+
|
|
|
|
+#
|
|
|
|
+# Ralink RT305x
|
|
|
|
+#
|
|
|
|
+core-$(CONFIG_RALINK_RT305X) += arch/mips/ralink/rt305x/
|
2009-08-31 11:29:19 +03:00
|
|
|
+cflags-$(CONFIG_RALINK_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x
|
2009-08-30 22:15:51 +03:00
|
|
|
+load-$(CONFIG_RALINK_RT305X) += 0xffffffff80000000
|
|
|
|
+
|
|
|
|
# temporary until string.h is fixed
|
|
|
|
cflags-y += -ffreestanding
|
|
|
|
|
|
|
|
--- a/arch/mips/Kconfig
|
|
|
|
+++ b/arch/mips/Kconfig
|
2009-10-01 13:07:32 +03:00
|
|
|
@@ -22,6 +22,9 @@ choice
|
2009-08-30 22:15:51 +03:00
|
|
|
config MACH_ALCHEMY
|
|
|
|
bool "Alchemy processor based machines"
|
|
|
|
|
|
|
|
+config MIPS_RALINK
|
|
|
|
+ bool "Ralink MIPS SoC based boards"
|
|
|
|
+
|
|
|
|
config BASLER_EXCITE
|
|
|
|
bool "Basler eXcite smart camera"
|
|
|
|
select CEVT_R4K
|
2009-10-01 13:07:32 +03:00
|
|
|
@@ -638,6 +641,7 @@ source "arch/mips/basler/excite/Kconfig"
|
2009-08-30 22:15:51 +03:00
|
|
|
source "arch/mips/jazz/Kconfig"
|
|
|
|
source "arch/mips/lasat/Kconfig"
|
|
|
|
source "arch/mips/pmc-sierra/Kconfig"
|
|
|
|
+source "arch/mips/ralink/Kconfig"
|
|
|
|
source "arch/mips/sgi-ip27/Kconfig"
|
|
|
|
source "arch/mips/sibyte/Kconfig"
|
|
|
|
source "arch/mips/txx9/Kconfig"
|
2009-10-01 13:07:32 +03:00
|
|
|
@@ -989,7 +993,7 @@ config BOOT_ELF32
|
2009-09-01 22:34:24 +03:00
|
|
|
|
|
|
|
config MIPS_L1_CACHE_SHIFT
|
|
|
|
int
|
|
|
|
- default "4" if MACH_DECSTATION || MIKROTIK_RB532
|
|
|
|
+ default "4" if MACH_DECSTATION || MIKROTIK_RB532 || RALINK_RT288X
|
|
|
|
default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
|
|
|
|
default "4" if PMC_MSP4200_EVAL
|
|
|
|
default "5"
|