mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 04:32:03 +00:00
9fd379e929
Allwinner has electric fuses (efuse) on their line of chips. This driver reads those fuses, seeds the kernel entropy and exports them as a sysfs node. These fuses are most likely to be programmed at the factory, encoding things like Chip ID, some sort of serial number, etc. and appear to be reasonably unique. While in theory, these should be writeable by the user, it will probably be inconvenient to do so. Allwinner recommends that a certain input pin, labeled 'efuse_vddq', be connected to GND. To write these fuses however, a 2.5 V programming voltage needs to be applied to this pin. Even so, they can still be used to generate a board-unique mac from, board unique RSA key and seed the kernel RNG. On sun7i additional storage is available, this is initially used for an UEFI BOOT key, Secure JTAG key, HDMI-HDCP key and vendor specific keys. Currently supported are the following known chips: Allwinner sun4i (A10) Allwinner sun5i (A10s, A13) Allwinner sun7i (A20) Signed-off-by: Oliver Schinagl <oliver@schinagl.nl> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 lines
349 B
Makefile
9 lines
349 B
Makefile
obj-$(CONFIG_EEPROM_AT24) += at24.o
|
|
obj-$(CONFIG_EEPROM_AT25) += at25.o
|
|
obj-$(CONFIG_EEPROM_LEGACY) += eeprom.o
|
|
obj-$(CONFIG_EEPROM_MAX6875) += max6875.o
|
|
obj-$(CONFIG_EEPROM_93CX6) += eeprom_93cx6.o
|
|
obj-$(CONFIG_EEPROM_93XX46) += eeprom_93xx46.o
|
|
obj-$(CONFIG_EEPROM_SUNXI_SID) += sunxi_sid.o
|
|
obj-$(CONFIG_EEPROM_DIGSY_MTC_CFG) += digsy_mtc_eeprom.o
|