ARM: tegra30: implement BCT patching
authorRamin Khonsari <raminterex@yahoo.com>
Tue, 14 Feb 2023 17:35:37 +0000 (19:35 +0200)
committerTom <twarren@nvidia.com>
Thu, 23 Feb 2023 19:55:37 +0000 (12:55 -0700)
commit327ff8e0a49e2e16ac946d059cae7df964c6ea59
tree6b6d055976a6241c8a5817710c39c453a60aa453
parentbab087802a8c2237f9d9c4aec95918fea52e73d5
ARM: tegra30: implement BCT patching

This function allows updating bootloader from u-boot
on production devices without need in host PC.

Be aware! It works only with re-crypted BCT.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS TF T30
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # LG P895 T30
Signed-off-by: Ramin Khonsari <raminterex@yahoo.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Tom <twarren@nvidia.com>
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/tegra30/Makefile
arch/arm/mach-tegra/tegra30/bct.c [new file with mode: 0644]
arch/arm/mach-tegra/tegra30/bct.h [new file with mode: 0644]