uboot-envtools: fix code formatting style in uci-defaults files

Few minor code formatting style fixes, including:

- keep one board per line
- always use "|\" (for consistency)
- remove redundant double quotes and empty lines

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This commit is contained in:
Piotr Dymacz 2016-12-13 22:30:11 +01:00 committed by John Crispin
parent f70a2adca1
commit 35ed3be59f
7 changed files with 62 additions and 61 deletions

View file

@ -25,7 +25,7 @@ case "$board" in
ubootenv_add_uci_config /dev/mmcblk0 0xd1400 0x20000 0x20000
fi
;;
"wandboard")
wandboard)
ubootenv_add_uci_config "/dev/mmcblk0" "0x60000" "0x2000" "0x2000"
;;
esac

View file

@ -13,12 +13,11 @@ touch /etc/config/ubootenv
board=$(ipq806x_board_name)
case "$board" in
"ea8500")
ea8500)
ubootenv_add_uci_config "/dev/mtd10" "0x0" "0x20000" "0x20000"
;;
"nbg6817")
nbg6817)
ubootenv_add_uci_config "/dev/mtdblock9" "0x0" "0x10000" "0x10000"
;;
esac

View file

@ -14,16 +14,16 @@ touch /etc/config/ubootenv
board=$(kirkwood_board_name)
case "$board" in
"dockstar" | \
"guruplug-server-plus" | \
"ib62x0" | \
"linksys-viper" | \
"pogo_e02" | \
"sheevaplug" | \
"sheevaplug-esata" )
dockstar|\
guruplug-server-plus|\
ib62x0|\
linksys-viper|\
pogo_e02|\
sheevaplug|\
sheevaplug-esata)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
;;
"linksys-audi")
linksys-audi)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000"
;;
esac

View file

@ -15,7 +15,9 @@ touch /etc/config/ubootenv
board=$(mvebu_board_name)
case "$board" in
armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby)
armada-385-linksys-caiman|\
armada-385-linksys-cobra|\
armada-385-linksys-shelby)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x40000"
;;
armada-385-linksys-rango)