mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-17 22:28:17 +01:00
board: turris: Rename atsha204a@64 DT node to crypto@64
DT node name should be generic, therefore rename atsha204a@64 to crypto@64. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <marek.behun@nic.cz>
This commit is contained in:
parent
98bbb6e7ab
commit
08b99b6775
@ -29,7 +29,7 @@
|
|||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
/* ATSHA204A at address 0x64 */
|
/* ATSHA204A at address 0x64 */
|
||||||
atsha204a@64 {
|
crypto@64 {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
compatible = "atmel,atsha204a";
|
compatible = "atmel,atsha204a";
|
||||||
reg = <0x64>;
|
reg = <0x64>;
|
||||||
|
@ -21,7 +21,7 @@ static struct udevice *get_atsha204a_dev(void)
|
|||||||
/* Cannot be static because BSS does not have to be ready at this early stage */
|
/* Cannot be static because BSS does not have to be ready at this early stage */
|
||||||
struct udevice *dev;
|
struct udevice *dev;
|
||||||
|
|
||||||
if (uclass_get_device_by_name(UCLASS_MISC, "atsha204a@64", &dev)) {
|
if (uclass_get_device_by_name(UCLASS_MISC, "crypto@64", &dev)) {
|
||||||
puts("Cannot find ATSHA204A on I2C bus!\n");
|
puts("Cannot find ATSHA204A on I2C bus!\n");
|
||||||
dev = NULL;
|
dev = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user