HomeFreeBSD

Fix access to cpu_model[] in mtk_soc_set_cpu_model()

Description

Fix access to cpu_model[] in mtk_soc_set_cpu_model()

There may be cases where cpu_model[] may not be 32bit aligned, so it is
better to not try to access it as such in order to avoid unaligned access.

Sponsored by: Smartcom - Bulgaria AD

Details

Provenance
sgalabovAuthored on
Parents
rS340612: MFC r339465: rc.initdiskless: add support for auxiliary NVRAM.
Branches
Unknown
Tags
Unknown