Преглед изворни кода

add basic support for linksys nslu2 (arm big endian platform)

Waldemar Brodkorb пре 10 година
родитељ
комит
142b50071a

+ 5 - 0
target/arm/kernel/linksys-nslu2

@@ -0,0 +1,5 @@
+CONFIG_ARM=y
+CONFIG_ARM_PATCH_PHYS_VIRT=y
+CONFIG_CPU_XSCALE=y
+CONFIG_ATAGS=y
+CONFIG_ATAGS_PROC=y

+ 11 - 0
target/arm/systems/linksys-nslu2

@@ -0,0 +1,11 @@
+config ADK_TARGET_SYSTEM_LINKSYS_NSLU2
+	bool "Linksys NSLU2"
+	select ADK_arm
+	select ADK_big
+	select ADK_eabihf
+	select ADK_linksys_nslu2
+	select ADK_TARGET_WITH_USB
+	select ADK_TARGET_KERNEL_ZIMAGE
+	help
+	  Linksys NSLU2
+

+ 1 - 0
target/config/Config.in.endian.choice

@@ -11,6 +11,7 @@ depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
 depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
 depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 depends on !ADK_TARGET_SYSTEM_QEMU_ARM
+depends on !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
 
 config ADK_TARGET_LITTLE_ENDIAN
 	boolean "Little endian"

+ 1 - 0
target/config/Config.in.kernel

@@ -59,6 +59,7 @@ config ADK_TARGET_KERNEL_MINICONFIG
 	default "solidrun-imx6" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	default "raspberry-pi" if ADK_TARGET_SYSTEM_RASPBERRY_PI
 	default "sharp-zaurus" if ADK_TARGET_SYSTEM_SHARP_ZAURUS
+	default "linksys-nslu2" if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
 	default "lemote-yeelong" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
 	default "mikrotik-rb4xx" if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
 	default "mikrotik-rb532" if ADK_TARGET_SYSTEM_MIKROTIK_RB532