summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/pm.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-09-05 09:29:18 +0200
committerTony Lindgren <tony@atomide.com>2013-10-03 20:08:56 +0200
commitde26804b60d460a5ad13400d86c367ed16c6393d (patch)
tree0a832fd2a7e6b0df0eded4e7a65be7bd358f8203 /arch/arm/mach-omap1/pm.c
parentLinux 3.12-rc3 (diff)
downloadlinux-de26804b60d460a5ad13400d86c367ed16c6393d.tar.xz
linux-de26804b60d460a5ad13400d86c367ed16c6393d.zip
ARM: OMAP2+: throw the die id into the entropy pool
At least eight bytes of this number are totally unique for the device it seems, so this is a perfect candidate for feeding the entropy pool. One byte more or less of constants does not matter so feed in the entire OID struct. This fixes the issue of similar devices initializing to the same state initially. Further registers could be added too, such as OMAP4 CONTROL_STD_FUSE_OPP* and CONTROL_DPLL_NWELL_TRIM* registers, but those vary based on the SoC generation. Cc: Theodore Ts'o <tytso@mit.edu> Cc: Paul Walmsley <paul@pwsan.com> Reviewed-by: Kevin Hilman <khilman@linaro.org> Reviewed-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> [tony@atomide.com: updated comments per mailing list discussion] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
0 files changed, 0 insertions, 0 deletions