mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Add support to read SFR's read-only registers providing the SoC Serial Numbers (SN0+SN1) to userspace. ~ # hexdump -n 8 -e'"%d\n"' /sys/bus/nvmem/devices/atmel-sfr0/nvmem 959527243 371539274 Signed-off-by: Kamel Bouhara <[email protected]> Tested-by: Tudor Ambarus <[email protected]> Reviewed-by: Tudor Ambarus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
4 lines
111 B
Makefile
4 lines
111 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_AT91_SOC_ID) += soc.o
|
|
obj-$(CONFIG_AT91_SOC_SFR) += sfr.o
|