summaryrefslogtreecommitdiff
path: root/common/cmd_disk.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-05-09 12:29:34 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-05-11 08:26:51 +0200
commit3974fc382adcc18c49228506bf256a7eaa211b06 (patch)
treec3a99945e7e68c9bc183e43f0e9aa473121acfd3 /common/cmd_disk.c
parent0fa5ed9af80300a67c61e750205ff0c44cf516c4 (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