aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/roms/withgrub
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-11 04:20:52 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-03-11 04:25:57 +0000
commit464076335d6ca5e6f801f863e95dc3847616a595 (patch)
tree0cb308ea155de7d0a65bba2de23cfbee92ebed60 /resources/scripts/helpers/build/roms/withgrub
parent2d68bc1581647ca27ce8350a295de03cb7ff23d8 (diff)
downloadlibrebootfr-464076335d6ca5e6f801f863e95dc3847616a595.tar.gz
librebootfr-464076335d6ca5e6f801f863e95dc3847616a595.zip
Remove ThinkPad R500 support (wasn't ready for production use yet anyway)
R500 support in its current state should not be merged in the master branch. This will likely not make it into the immediate upcoming release. This patch will be reverted in a separate experimental branch, for the time being.
Diffstat (limited to 'resources/scripts/helpers/build/roms/withgrub')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub24
1 files changed, 2 insertions, 22 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub
index 3ef295a9..f3d29462 100755
--- a/resources/scripts/helpers/build/roms/withgrub
+++ b/resources/scripts/helpers/build/roms/withgrub
@@ -91,27 +91,11 @@ do
fi
done
-# TEMPORARY HACK: copy t400* to r500*
-# (until proper R500 support is added)
-if [ -d "bin/grub/" ]; then
- cd "bin/grub/"
- for board in "t400"
- do
- for romsize in "4m" "8m"
- do
- if [ -d "${board}_${romsize}b/" ]; then
- cp -R "${board}_${romsize}b/" "r500_${romsize}b/"
- fi
- done
- done
- cd ../../
-fi
-
# Build the deblobbed descriptor+gbe regions for GM45/ICH9M targets.
# Then put them in the ROM images.
if [ -d "bin/grub/" ]; then
cd "bin/grub/"
- for board in "x200" "r400" "r500" "t400" "t500"
+ for board in "x200" "r400" "t400" "t500"
do
for romsize in "4m" "8m"
do
@@ -124,11 +108,7 @@ if [ -d "bin/grub/" ]; then
fi
for rom in *.rom
do
- if [ "${board}" = "r500" ]; then
- dd if="ich9fdnogbe_${romsize}.bin" of="${rom}" bs=1 count=4k conv=notrunc
- else
- dd if="ich9fdgbe_${romsize}.bin" of="${rom}" bs=1 count=12k conv=notrunc
- fi
+ dd if="ich9fdgbe_${romsize}.bin" of="${rom}" bs=1 count=12k conv=notrunc
done
rm -f "ich9fd"*.bin "mk"*.[ch]
cd "../"