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)
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>

No differences found