]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: bcm: Make secure API call optional
authorChristian Daudt <csd@broadcom.com>
Wed, 7 Aug 2013 00:04:54 +0000 (17:04 -0700)
committerChristian Daudt <csd@broadcom.com>
Tue, 20 Aug 2013 17:51:39 +0000 (10:51 -0700)
commit3f52e0ec7312cca6121f0c616819dbc429715427
treed26dd20cad8966e895b642c282f115dd8a75e071
parentfbb3a40ae237bf7fc275a6ea42cc60a8f6902aec
ARM: bcm: Make secure API call optional

The current bcm_kona_smc_init function throws a BUG_ON if there's no SMC
device node defined in the device tree.

Since secure API access is optional depending the chip configuration,
fix this by allowing the rest of the code to run even if there's no SMC
device node defined

Signed-off-by: Christian Daudt <csd@broadcom.com>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
arch/arm/mach-bcm/bcm_kona_smc.c
arch/arm/mach-bcm/bcm_kona_smc.h
arch/arm/mach-bcm/board_bcm281xx.c