]> git.baikalelectronics.ru Git - uboot.git/commit
board: turris: Move Turris Atsha OTP code to separate file
authorPali Rohár <pali@kernel.org>
Fri, 8 Apr 2022 14:30:12 +0000 (16:30 +0200)
committerStefan Roese <sr@denx.de>
Thu, 21 Apr 2022 10:31:36 +0000 (12:31 +0200)
commite85ababfa52b99dd3ae1752ec24898fbc1bef9a2
tree08b7510bf1ad6e04ea393202d9409007c25ba944
parente0f409c1b8946a023be8b4207e545dbe29819166
board: turris: Move Turris Atsha OTP code to separate file

OTP code is not Atsha generic but also it is not Omnia specific. It is
common for all Turris routers which use Atsha cryptochip for storing OTP.
So move this common Turris specific Atsha OTP code from Turris Omnia into
separate file. It will be used also by other Turris routers.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
board/CZ.NIC/turris_atsha_otp.c [new file with mode: 0644]
board/CZ.NIC/turris_atsha_otp.h [new file with mode: 0644]
board/CZ.NIC/turris_omnia/Makefile
board/CZ.NIC/turris_omnia/turris_omnia.c