mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-14 22:16:03 +01:00
Assorted Tegra enhancements. Merged with the recent XPL_BUILD changes, resolve some whitespace issues and fix the name of the new apalis-tk1 env file by Tom. Signed-off-by: Tom Rini <trini@konsulko.com>
10 lines
244 B
Bash
10 lines
244 B
Bash
uboot_hwpart=1
|
|
uboot_blk=0
|
|
|
|
set_blkcnt=setexpr blkcnt ${filesize} + 0x1ff &&
|
|
setexpr blkcnt ${blkcnt} / 0x200
|
|
update_uboot=run set_blkcnt && mmc dev 0 ${uboot_hwpart} &&
|
|
mmc write ${loadaddr} ${uboot_blk} ${blkcnt}
|
|
|
|
boot_script_dhcp=boot.scr
|