Add support for Conceptronic C54BSR4
authorFlorian Fainelli <florian@openwrt.org>
Fri, 28 Dec 2007 17:48:39 +0000 (17:48 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 28 Dec 2007 17:48:39 +0000 (17:48 +0000)
SVN-Revision: 10002

target/linux/adm5120/image/router_le.mk
target/linux/adm5120/router_le/profiles/Conceptronic.mk [new file with mode: 0644]
tools/firmware-utils/src/csysimg.h
tools/firmware-utils/src/mkcsysimg.c

index 4cb070e..3053d2d 100644 (file)
@@ -253,6 +253,21 @@ define Image/Build/Board/BR6104WG/Initramfs
        $(call Image/Build/LZMAKernel/Admboot,br-6104wg,gz)
 endef
 
+#
+# Conceptronic C54BSR4
+#
+define Image/Build/Board/C54BSR4
+       $(call Image/Build/Edimax,$(1),c54bsr4)
+endef
+
+define Image/Build/Board/C54BSR4/squashfs
+       $(call Image/Build/Board/C54BSR4,squashfs)
+endef
+
+define Image/Build/Board/C54BSR4/Initramfs
+       $(call Image/Build/LZMAKernel/Admboot,c54bsr4,gz)
+endef
+
 #
 # Infineon EASY 83000
 #
@@ -301,6 +316,10 @@ define Image/Build/Group/Compex
        $(call Image/Build/Group/WP54G,$(1))
 endef
 
+define Image/Build/Group/Conceptronic
+       $(call Image/Build/Board/C54BSR4/$(1))
+endef
+
 define Image/Build/Group/Edimax
        $(call Image/Build/Board/BR6104K/$(1))
        $(call Image/Build/Board/BR6104KP/$(1))
@@ -314,6 +333,7 @@ endef
 define Image/Build/Group/All
        $(call Image/Build/Group/Cellvision,$(1))
        $(call Image/Build/Group/Compex,$(1))
+       $(call Image/Build/Group/Conceptronic,$(1))
        $(call Image/Build/Group/Edimax,$(1))
        $(call Image/Build/Group/Cellvision,$(1))
        $(call Image/Build/Group/Infineon,$(1))
@@ -367,6 +387,10 @@ define Image/Build/Profile/BR6104KP
        $(call Image/Build/Board/BR6104KP/$(1))
 endef
 
+define Image/Build/Profile/C54BSR4
+       $(call Image/Build/Board/C54BSR4/$(1))
+endef
+
 define Image/Build/Profile/RouterBoard
        $(call Image/Build/Board/RB1xx/$(1))
 endef
diff --git a/target/linux/adm5120/router_le/profiles/Conceptronic.mk b/target/linux/adm5120/router_le/profiles/Conceptronic.mk
new file mode 100644 (file)
index 0000000..5344859
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2007 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define Profile/C54BSR4
+       NAME:=Conceptronic C54BSR4 (Unofficial)
+       PACKAGES:=kmod-net-ipw2200
+endef
+
+define Profile/BR6104KP/Description
+       Package set optimized for the C54BSR4
+endef
+
+$(eval $(call Profile,C54BSR4))
index 740a7b8..7685cbb 100644 (file)
@@ -55,6 +55,7 @@
 #define SIG_BR6541K    "4--K"
 #define SIG_BR6541KP   "4-KP"  /* FIXME: valid? */
 #define SIG_BR6541WP   "4-WP"  /* FIXME: valid? */
+#define SIG_C54BSR4    SIG_BR6104IPC
 #define SIG_EW7207APg  "EWAS"
 #define SIG_PS1205UWg  "4000"
 #define SIG_PS3205U    "5010"
index be53147..cf25bdb 100644 (file)
@@ -179,6 +179,9 @@ static struct board_info boards[] = {
        BOARD_ADM("XRT-401D", "Planet XRT-401D", 2, SIG_XRT401D),
        BOARD_ADM("XRT-402D", "Planet XRT-402D", 2, SIG_XRT402D),
 
+       /* Conceptronic products */
+       BOARD_ADM("C54BSR4", "Conceptronic C54BSR4", 2, SIG_C54BSR4),
+
        {.model = NULL}
 };