diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2015-05-09 12:29:34 +0200 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-05-11 08:26:51 +0200 |
commit | 3974fc382adcc18c49228506bf256a7eaa211b06 (patch) | |
tree | c3a99945e7e68c9bc183e43f0e9aa473121acfd3 /common/cmd_disk.c | |
parent | 0fa5ed9af80300a67c61e750205ff0c44cf516c4 (diff) |
toradex: common: set board-rev and product-id
Set board revision and Toradex product ID as device tree property.
This transfers the Toradex configblock information to Linux user-
space, where it can be read conviniently through the proc file
system files:
- /proc/device-tree/serial-number
- /proc/device-tree/toradex,board-rev
- /proc/device-tree/toradex,product-id
In case the Toradex config block is missing or corrupted, the
device tree properties won't be created by the boot loader and
hence those file won't exist in that case.
Diffstat (limited to 'common/cmd_disk.c')
0 files changed, 0 insertions, 0 deletions