From: Florian Fainelli Date: Fri, 28 Dec 2007 17:48:39 +0000 (+0000) Subject: Add support for Conceptronic C54BSR4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80475bb5737ae0f7c2ace9628b29e43d3ab22ed1;p=openwrt%2Fstaging%2Fdangole.git Add support for Conceptronic C54BSR4 SVN-Revision: 10002 --- diff --git a/target/linux/adm5120/image/router_le.mk b/target/linux/adm5120/image/router_le.mk index 4cb070ead4..3053d2d8b6 100644 --- a/target/linux/adm5120/image/router_le.mk +++ b/target/linux/adm5120/image/router_le.mk @@ -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 index 0000000000..5344859dfb --- /dev/null +++ b/target/linux/adm5120/router_le/profiles/Conceptronic.mk @@ -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)) diff --git a/tools/firmware-utils/src/csysimg.h b/tools/firmware-utils/src/csysimg.h index 740a7b8910..7685cbb90a 100644 --- a/tools/firmware-utils/src/csysimg.h +++ b/tools/firmware-utils/src/csysimg.h @@ -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" diff --git a/tools/firmware-utils/src/mkcsysimg.c b/tools/firmware-utils/src/mkcsysimg.c index be53147f1b..cf25bdbe44 100644 --- a/tools/firmware-utils/src/mkcsysimg.c +++ b/tools/firmware-utils/src/mkcsysimg.c @@ -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} };