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>
This commit is contained in:
INAGAKI Hiroshi 2022-10-09 17:43:13 +09:00 committed by Sander Vanheule
parent 65b2bcbf5f
commit 54c5f33b30

View File

@ -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|\