cpu/samsung/exynos5250: Move update-bl1.sh to 3rdparty/blobs/
The binary is taken from blobs, so the script should live over there, too. Change-Id: I3cc0aabc846c352ccf5cb348132b320a37f273a6 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/12725 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
parent
1f7395bb4d
commit
5a3f1e54d5
|
@ -1,26 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
BL1_NAME="E5250.nbl1.bin"
|
|
||||||
BL1_PATH="3rdparty/blobs/cpu/samsung/exynos5250/"
|
|
||||||
BL1_URL="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/exynos-pre-boot-0.0.2-r8.tbz2"
|
|
||||||
|
|
||||||
get_bl1() {
|
|
||||||
mkdir -p "${BL1_PATH}"
|
|
||||||
cd "${BL1_PATH}"
|
|
||||||
wget "${BL1_URL}" -O bl1.tbz2
|
|
||||||
tar jxvf bl1.tbz2
|
|
||||||
mv "exynos-pre-boot/firmware/${BL1_NAME}" .
|
|
||||||
rm -rf exynos-pre-boot
|
|
||||||
if [ ! -e "${BL1_NAME}" ]; then
|
|
||||||
echo "Error getting BL1"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
main() {
|
|
||||||
if [ ! -e ${BL1_PATH}/${BL1_NAME} ]; then
|
|
||||||
get_bl1
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
set -e
|
|
||||||
main "$@"
|
|
Loading…
Reference in New Issue