boardstatus: Handle clones.
Change-Id: I7bfe19eb800729713a549dc0396765a9785e11b1 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4732 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
03cd8e5fa4
commit
2eaf3b4e3a
|
@ -3,3 +3,4 @@ Category: desktop
|
||||||
ROM package: PLCC
|
ROM package: PLCC
|
||||||
ROM socketed: y
|
ROM socketed: y
|
||||||
Flashrom support: y
|
Flashrom support: y
|
||||||
|
Clone of: asus/a8n_e
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
Board URL: http://www.jetway.com.tw/jw/ipcboard_view.asp?productid=279&proname=J7F4K1G2E
|
Board URL: http://www.jetway.com.tw/jw/ipcboard_view.asp?productid=279&proname=J7F4K1G2E
|
||||||
Category: mini
|
Category: mini
|
||||||
|
Clone of: jetway/j7f2
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
Board URL: http://www.jetway.com.tw/jw/ipcboard_view.asp?productid=279&proname=J7F4K1G5D
|
Board URL: http://www.jetway.com.tw/jw/ipcboard_view.asp?productid=279&proname=J7F4K1G5D
|
||||||
Category: mini
|
Category: mini
|
||||||
|
Clone of: jetway/j7f2
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Board URL: http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=202
|
Board URL: http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=202
|
||||||
|
|
||||||
Flashrom support: y
|
Flashrom support: y
|
||||||
Category: mini
|
Category: mini
|
||||||
|
Clone of: via/epia-m
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
Board URL: http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=301
|
Board URL: http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=301
|
||||||
Flashrom support: y
|
Flashrom support: y
|
||||||
Category: mini
|
Category: mini
|
||||||
|
Clone of: via/epia-m
|
||||||
|
|
|
@ -157,6 +157,7 @@ EOF
|
||||||
vendor_cooperation_score="$(sed -n "/^[[:space:]]*Vendor cooperation score:/ s,^[[:space:]]*Vendor cooperation score:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
vendor_cooperation_score="$(sed -n "/^[[:space:]]*Vendor cooperation score:/ s,^[[:space:]]*Vendor cooperation score:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
vendor_cooperation_page="$(sed -n "/^[[:space:]]*Vendor cooperation page:/ s,^[[:space:]]*Vendor cooperation page:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
vendor_cooperation_page="$(sed -n "/^[[:space:]]*Vendor cooperation page:/ s,^[[:space:]]*Vendor cooperation page:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
board_url="$(sed -n "/^[[:space:]]*Board URL:/ s,^[[:space:]]*Board URL:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
|
clone_of="$(sed -n "/^[[:space:]]*Clone of:/ s,^[[:space:]]*Clone of:[[:space:]]*,,p" "$vendor_board_dir/board_info.txt")"
|
||||||
else
|
else
|
||||||
board_nice=
|
board_nice=
|
||||||
rom_package=
|
rom_package=
|
||||||
|
@ -166,6 +167,7 @@ EOF
|
||||||
vendor_cooperation_score=
|
vendor_cooperation_score=
|
||||||
vendor_cooperation_page=
|
vendor_cooperation_page=
|
||||||
board_url=
|
board_url=
|
||||||
|
clone_of=
|
||||||
fi
|
fi
|
||||||
if [ "$last_vendor" != "$vendor" ]; then
|
if [ "$last_vendor" != "$vendor" ]; then
|
||||||
last_vendor="$vendor"
|
last_vendor="$vendor"
|
||||||
|
@ -190,6 +192,10 @@ EOF
|
||||||
|
|
||||||
lastgood="$(echo "$have"| sed -n "/^$vendor\/$board:/ s,^[^:]*:,,gp")"
|
lastgood="$(echo "$have"| sed -n "/^$vendor\/$board:/ s,^[^:]*:,,gp")"
|
||||||
|
|
||||||
|
if ! [ -z "$clone_of" ]; then
|
||||||
|
vendor_board_dir="$COREBOOT_DIR"/src/mainboard/"$clone_of";
|
||||||
|
fi
|
||||||
|
|
||||||
northbridge="$(sed -n "/^[[:space:]]*select NORTHBRIDGE_/ s,^[[:space:]]*select NORTHBRIDGE_,,p" "$vendor_board_dir/Kconfig")"
|
northbridge="$(sed -n "/^[[:space:]]*select NORTHBRIDGE_/ s,^[[:space:]]*select NORTHBRIDGE_,,p" "$vendor_board_dir/Kconfig")"
|
||||||
northbridge_nice="$(echo "$northbridge"|sed 's,AMD_AGESA_FAMILY\(.*\),AMD Family \1h (AGESA),g;s,AMD_FAMILY\(.*\),AMD Family \1h,g;s,AMD_AMDFAM\(.*\),AMD Family \1h,g;s,_, ,g;s,INTEL,Intel®,g;')"
|
northbridge_nice="$(echo "$northbridge"|sed 's,AMD_AGESA_FAMILY\(.*\),AMD Family \1h (AGESA),g;s,AMD_FAMILY\(.*\),AMD Family \1h,g;s,AMD_AMDFAM\(.*\),AMD Family \1h,g;s,_, ,g;s,INTEL,Intel®,g;')"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue