Skip to content
Commit 4044e0e7 authored by Dmitrii Sharshakov's avatar Dmitrii Sharshakov Committed by Chris Friedt
Browse files

drivers: hwinfo: rpi_pico: use bootrom method on RP2350



RP2350 provides a function to get OTP-backed chip ID. Prefer using this
on supported platforms for these reasons:
- a secure internal identifier, same as read by picotool
- works on flashless boards
- does not conflict with code running in XIP mode (e.g. when the other
 core tries to access device ID)
- when used with USB HWID serial number will match one BootROM has

Signed-off-by: default avatarDmitrii Sharshakov <d3dx12.xx@gmail.com>
Co-authored-by: default avatarAlexander Wachter <alexander@wachter.cloud>
parent f9eeefa6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment