aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-envtools/files
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2022-10-09 17:43:13 +0900
committerSander Vanheule <sander@svanheule.net>2023-02-13 12:22:17 +0100
commit54c5f33b3099256eaac31cad0e407ca87623e3a4 (patch)
tree3600a55cf5c2715bc97b2a8be58b5aae229b54ae /package/boot/uboot-envtools/files
parent65b2bcbf5f0037f24e3772b2c96de03230fdaaf7 (diff)
downloadupstream-54c5f33b3099256eaac31cad0e407ca87623e3a4.tar.gz
upstream-54c5f33b3099256eaac31cad0e407ca87623e3a4.tar.bz2
upstream-54c5f33b3099256eaac31cad0e407ca87623e3a4.zip
uboot-envtools: add support for APRESIA ApresiaLightGS120GT-SS
This patch adds support for APRESIA ApresiaLightGS120GT-SS to uboot-envtools. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'package/boot/uboot-envtools/files')
-rw-r--r--package/boot/uboot-envtools/files/realtek8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/realtek b/package/boot/uboot-envtools/files/realtek
index f191503876..cd2446432d 100644
--- a/package/boot/uboot-envtools/files/realtek
+++ b/package/boot/uboot-envtools/files/realtek
@@ -8,6 +8,14 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
+apresia,aplgs120gtss)
+ idx="$(find_mtd_index u-boot-env)"
+ [ -n "$idx" ] && \
+ ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x40000" "0x10000"
+ idx2="$(find_mtd_index u-boot-env2)"
+ [ -n "$idx2" ] && \
+ ubootenv_add_uci_sys_config "/dev/mtd$idx2" "0x0" "0x40000" "0x10000"
+ ;;
d-link,dgs-1210-10mp|\
d-link,dgs-1210-10p|\
d-link,dgs-1210-16|\