projects
/
openwrt
/
staging
/
mkresin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e535ec2379798d46ac1bfbc740377589ab3d8761
[openwrt/staging/mkresin.git]
/
package
/
boot
/
uboot-envtools
/
files
/
layerscape
1
#
2
# Copyright (C) 2016 LEDE
3
#
4
5
[ -f /etc/config/ubootenv ] && exit 0
6
7
touch /etc/config/ubootenv
8
9
. /lib/uboot-envtools.sh
10
. /lib/functions.sh
11
12
board=$(board_name)
13
14
case "$board" in
15
traverse,ls1043v | \
16
traverse,ls1043s)
17
ubootenv_add_uci_config "/dev/mtd1" "0x40000" "0x2000" "0x20000"
18
;;
19
esac
20
21
config_load ubootenv
22
config_foreach ubootenv_add_app_config ubootenv
23
24
exit 0