mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
Originally the SID e-fuses were thought to be in big-endian format. Later sources show that they are in fact native or little-endian. The most compelling evidence is the thermal sensor calibration data, which is a set of one to three 16-bit values. In native-endian they are in 16-bit cells with increasing offsets, whereas with big-endian they are in the wrong order, and a gap with no data will show if there are one or three cells. Switch to a native endian representation for the nvmem device. For the H3, the register read-out method was already returning data in native endian. This only affects the other SoCs. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| bcm-ocotp.c | ||
| core.c | ||
| imx-iim.c | ||
| imx-ocotp.c | ||
| Kconfig | ||
| lpc18xx_eeprom.c | ||
| lpc18xx_otp.c | ||
| Makefile | ||
| meson-efuse.c | ||
| meson-mx-efuse.c | ||
| mtk-efuse.c | ||
| mxs-ocotp.c | ||
| qfprom.c | ||
| rave-sp-eeprom.c | ||
| rockchip-efuse.c | ||
| sc27xx-efuse.c | ||
| snvs_lpgpr.c | ||
| sunxi_sid.c | ||
| uniphier-efuse.c | ||
| vf610-ocotp.c | ||
| zynqmp_nvmem.c | ||