summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMichael Riesch <michael.riesch@wolfvision.net>2021-07-05 18:04:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-08-23 16:09:15 +0200
commitdb73e5d8de2a1e4814ec32b07b03d4212c001420 (patch)
tree86ca48b2d0498294da89b36992406ed17e7f4ebd /Documentation
parente88ac96a532fbe056bf45cfa0fa1ebf28c193c41 (diff)
downloadbarebox-db73e5d8de2a1e4814ec32b07b03d4212c001420.tar.gz
barebox-db73e5d8de2a1e4814ec32b07b03d4212c001420.tar.xz
arm: rockchip-rk3568-evb: add hardware id detection
The RK3568 EVB uses a voltage divider to determine the hardware ID of the board. At the moment, the voltage levels for seven EVB variants are defined. This commit adds a late_initcall to the board code that reads out the voltage and populates the hardware ID as environment variable. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210705160457.7346-1-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions