mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 02:44:37 +00:00

Most device headers contain SoC specific part and common Tegra post part. Add a generic header which can be used by any Tegra device of one of the supported SoC generations (T20, T30, T114, T124 or T210) without need in device specific configuration. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
17 lines
383 B
Bash
17 lines
383 B
Bash
uboot_hwpart=1
|
|
uboot_blk=0
|
|
|
|
/*
|
|
* Board-specific serial config
|
|
*
|
|
* Colibri UART-A: NVIDIA UARTA
|
|
* Colibri UART-B: NVIDIA UARTD
|
|
* Colibri UART-C: NVIDIA UARTB
|
|
*/
|
|
|
|
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
|