summaryrefslogtreecommitdiffstats
path: root/ich9macchange
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-10 08:39:39 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-10 08:39:39 (EST)
commit7a6932c71747ea9bbf37d26805cce2f159d66570 (patch)
treed0ed7094234a678931989ed3eb568fa203e3e021 /ich9macchange
parent7b35d96e2b33a144d9d3e301372cf9cb4fda1b28 (diff)
downloadlibreboot-7a6932c71747ea9bbf37d26805cce2f159d66570.zip
libreboot-7a6932c71747ea9bbf37d26805cce2f159d66570.tar.gz
libreboot-7a6932c71747ea9bbf37d26805cce2f159d66570.tar.bz2
ich9macchange: Add R400
Diffstat (limited to 'ich9macchange')
-rwxr-xr-xich9macchange13
1 files changed, 8 insertions, 5 deletions
diff --git a/ich9macchange b/ich9macchange
index b354448..683fb62 100755
--- a/ich9macchange
+++ b/ich9macchange
@@ -47,14 +47,17 @@ fi
$(echo $path) --macaddress $1
-for size in "8m" "4m"
+for board in "x200" "r400"
do
- cd bin/x200_"$size"b/
- for rom in $(ls)
+ for size in "8m" "4m"
do
- dd if=../../ich9fdgbe_"$size".bin of="$rom" bs=1 count=12k conv=notrunc
+ cd bin/"$board"_"$size"b/
+ for rom in $(ls)
+ do
+ dd if=../../ich9fdgbe_"$size".bin of="$rom" bs=1 count=12k conv=notrunc
+ done
+ cd ../../
done
- cd ../../
done
rm -f ich9fdgbe_4m.bin