freebsd-dev/sys/dev/bhnd/nvram
Landon J. Fuller 26e4f22037 bhnd(4): Fix a SPROM identification regression introduced in r315866
In r315866, we introduced a direct read of the 8-bit sromrev field from the
memory mapped SPROM/OTP device. On OTP devices that require 16-bit access
alignment, this read fails, preventing identification of the SPROM layout.

So, let's perform an aligned read of the combined 16-bit sromrev/crc field
instead.

Approved by:	adrian (mentor, implicit)
2017-05-23 22:30:15 +00:00
..
bhnd_nvram_data_bcm.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_bcmraw.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_bcmreg.h bhnd(4): NVRAM serialization support. 2016-12-19 20:34:05 +00:00
bhnd_nvram_data_bcmvar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_btxt.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_sprom_subr.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_sprom.c bhnd(4): Fix a SPROM identification regression introduced in r315866 2017-05-23 22:30:15 +00:00
bhnd_nvram_data_spromvar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_tlv.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data_tlvreg.h
bhnd_nvram_data.c [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_data.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_datavar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bhnd_nvram_if.m
bhnd_nvram_io.c
bhnd_nvram_io.h
bhnd_nvram_iobuf.c
bhnd_nvram_ioptr.c
bhnd_nvram_iores.c
bhnd_nvram_iovar.h
bhnd_nvram_plist.c
bhnd_nvram_plist.h
bhnd_nvram_plistvar.h
bhnd_nvram_private.h bhnd(4): NVRAM serialization support. 2016-12-19 20:34:05 +00:00
bhnd_nvram_store_subr.c bhnd(4): Add support for exporting all (or a subtree) of NVRAM 2016-12-19 20:31:27 +00:00
bhnd_nvram_store.c bhnd(4): NVRAM serialization support. 2016-12-19 20:34:05 +00:00
bhnd_nvram_store.h bhnd(4): NVRAM serialization support. 2016-12-19 20:34:05 +00:00
bhnd_nvram_storevar.h bhnd(4): Add support for exporting all (or a subtree) of NVRAM 2016-12-19 20:31:27 +00:00
bhnd_nvram_subr.c bhnd(4): NVRAM device path support. 2016-12-19 20:28:27 +00:00
bhnd_nvram_value_fmts.c
bhnd_nvram_value_prf.c
bhnd_nvram_value_subr.c
bhnd_nvram_value.c
bhnd_nvram_value.h
bhnd_nvram_valuevar.h
bhnd_nvram.h
bhnd_sprom.c bhnd(4): Fix a SPROM identification regression introduced in r315866 2017-05-23 22:30:15 +00:00
bhnd_spromvar.h
nvram_map