Searched hist:"88 aa5c43934359081b7e994dc539e7d9eefa4e2f" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/allwinner/common/ |
| H A D | sunxi_security.c | 88aa5c43934359081b7e994dc539e7d9eefa4e2f Thu Jun 21 23:28:31 UTC 2018 Andre Przywara <andre.przywara@arm.com> allwinner: security: Fix SPC guard
The "#ifdef SUNXI_SPC_BASE" guard was meant to allow the build on SoCs without a Secure Peripherals Controller, so that we skip that part of the security setup. But in the current position this will trigger a warning about an unused variable.
Simply move the guard one line up to cover the variable as well.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
|