ARM: tegra: add missing break to fuse initialization code
Add a missing break to the switch in tegra_init_fuse() which determines
which SoC the code is running on. This prevents the Tegra30+ fuse
handling code from running on Tegra20.
Fixes: 3bd1ae57f7
("ARM: tegra: add fuses as device randomness")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
ff88b4724f
commit
b988ba1b4e
@ -198,10 +198,12 @@ void __init tegra_init_fuse(void)
|
|||||||
switch (tegra_chip_id) {
|
switch (tegra_chip_id) {
|
||||||
case TEGRA20:
|
case TEGRA20:
|
||||||
tegra20_fuse_init_randomness();
|
tegra20_fuse_init_randomness();
|
||||||
|
break;
|
||||||
case TEGRA30:
|
case TEGRA30:
|
||||||
case TEGRA114:
|
case TEGRA114:
|
||||||
default:
|
default:
|
||||||
tegra30_fuse_init_randomness();
|
tegra30_fuse_init_randomness();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
pr_info("Tegra Revision: %s SKU: %d CPU Process: %d Core Process: %d\n",
|
pr_info("Tegra Revision: %s SKU: %d CPU Process: %d Core Process: %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user