u-boot/arch/arm/mach-tegra
Svyatoslav Ryhel 6bc3401294 ARM: tegra: board2: add generic late init
Board specific late init allows vendors to set up different device
or board specific env variables (like serial number, platform name).
In case this information is missing, u-boot will lack info regards
serial or platform.

To avoid this prior nvidia_board_late_init internal generic function
is called which fills required data. In this case platform name is
obtained from get_chip and serialno is filled with SoC id.

Though SoC id is not dedicated to be devices serial but it fits well
in case of restriction of data about device and since SoC is basically
a main chip of the device.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com> # ASUS Transformers
Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # Nvidia Tegratab
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-11-03 12:37:15 -04:00
..
tegra20 ARM: tegra20: tegra30: support EBTUPDATE on non-encrypted devices 2023-11-03 12:37:15 -04:00
tegra30 ARM: tegra20: tegra30: support EBTUPDATE on non-encrypted devices 2023-11-03 12:37:15 -04:00
tegra114 ARM: tegra114: enable base voltages setup from board 2023-11-03 12:37:15 -04:00
tegra124 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
tegra186 arm64: add an option to switch visibility of CONFIG_SYS_INIT_SP_BSS_OFFSET 2019-07-10 22:37:23 +09:00
tegra210 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
ap.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
arm64-mmu.c arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
board.c global: Move remaining CONFIG_SYS_NS16550_* to CFG_SYS_NS16550_* 2022-12-05 16:06:07 -05:00
board2.c ARM: tegra: board2: add generic late init 2023-11-03 12:37:15 -04:00
cache.c ARM: tegra: Guard GP pad control code with a Kconfig symbol 2019-06-05 09:16:33 -07:00
cboot.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
clock.c ARM: tegra: clock: add clock_decode_pair helper 2023-02-23 12:55:36 -07:00
cmd_enterrcm.c reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
cpu.c ARM: tegra: remap clock_osc_freq for all Tegra family 2023-02-02 10:16:41 -07:00
cpu.h ARM: tegra: create common pre-dm i2c write 2023-02-23 12:55:37 -07:00
crypto.c ARM: tegra: crypto: extend crypto functional 2023-02-23 12:55:37 -07:00
dt-setup.c ARM: tegra: Copy memory-region-names property 2021-10-13 14:18:30 -07:00
emc.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
emc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fuse.c ARM: tegra: add SoC UID calculation function 2023-06-30 15:20:37 +02:00
gpu.c fdt_support: Add fdt_for_each_node_by_compatible() helper macro 2022-01-20 11:35:29 +01:00
ivc.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
Kconfig Kconfig: Remove all default n/no options 2023-10-30 15:32:49 -04:00
Makefile ARM: tegra: add SoC UID calculation function 2023-06-30 15:20:37 +02:00
pinmux-common.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pmc.c reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
powergate.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
psci.S tegra: psci: save context id in cpu_on command 2018-05-07 11:52:55 -04:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sys_info.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
xusb-padctl-common.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
xusb-padctl-common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
xusb-padctl-dummy.c t210: do not enable PLLE and UPHY PLL HW PWRSEQ 2020-04-02 14:30:01 -07:00