Skip to content

Commit

Permalink
fix: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: ZHANG Yuntian <[email protected]>
Signed-off-by: CodeChenL <[email protected]>
  • Loading branch information
CodeChenL and RadxaYuntian authored Nov 13, 2024
1 parent f3f8fb8 commit a8a0eac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/u-boot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ bsp_prepare() {
echo "Unable to find prebuilt bl32. The resulting bootloader may not work." >&2
else
echo "Using bl32 $(basename $rkbin_bl32)"
rm -f "$SCRIPT_DIR/.src/u-boot/tee.bin"
# for Rockchip u-boot
ln -s "$rkbin_bl32" "$SCRIPT_DIR/.src/u-boot/tee.bin"
ln -sf "$rkbin_bl32" "$SCRIPT_DIR/.src/u-boot/tee.bin"
fi
else
rm -f "$SCRIPT_DIR/.src/u-boot/tee.bin"
Expand Down

0 comments on commit a8a0eac

Please sign in to comment.