summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/image
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/adm5120/image')
-rw-r--r--target/linux/adm5120/image/lzma-loader/src/config.h5
-rw-r--r--target/linux/adm5120/image/router_le.mk16
2 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/adm5120/image/lzma-loader/src/config.h b/target/linux/adm5120/image/lzma-loader/src/config.h
index 310189c..74ae9af 100644
--- a/target/linux/adm5120/image/lzma-loader/src/config.h
+++ b/target/linux/adm5120/image/lzma-loader/src/config.h
@@ -69,6 +69,11 @@
# define CONFIG_FLASH_SIZE FLASH_2M
#endif
+#if defined(CONFIG_BOARD_BR6104WG)
+# define CONFIG_BOARD_NAME "BR-6104WG"
+# define CONFIG_FLASH_SIZE FLASH_2M
+#endif
+
/*
* Infineon boards
*/
diff --git a/target/linux/adm5120/image/router_le.mk b/target/linux/adm5120/image/router_le.mk
index f910971..ec7673f 100644
--- a/target/linux/adm5120/image/router_le.mk
+++ b/target/linux/adm5120/image/router_le.mk
@@ -204,6 +204,21 @@ define Image/Build/Board/BR6104K/Initramfs
endef
#
+# Edimax BR-6104WG
+#
+define Image/Build/Board/BR6104WG
+ $(call Image/Build/Edimax,$(1),br-6104wg)
+endef
+
+define Image/Build/Board/BR6104WG/squashfs
+ $(call Image/Build/Board/BR6104WG,squashfs)
+endef
+
+define Image/Build/Board/BR6104WG/Initramfs
+ $(call Image/Build/LZMAKernel/Admboot,br-6104wg,gz)
+endef
+
+#
# Infineon EASY 83000
#
define Image/Build/Board/EASY83000
@@ -254,6 +269,7 @@ endef
define Image/Build/Group/Edimax
$(call Image/Build/Board/BR6104K/$(1))
+ $(call Image/Build/Board/BR6104WG/$(1))
endef
define Image/Build/Group/Infineon