File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -391,13 +391,14 @@ void sip_fiq_debugger_enable_fiq(bool enable, uint32_t tgt_cpu)
391
391
}
392
392
393
393
/******************************************************************************/
394
- #ifdef CONFIG_ARM
395
394
static __init int sip_firmware_init (void )
396
395
{
397
396
struct arm_smccc_res res ;
398
397
398
+ #ifdef CONFIG_ARM
399
399
if (!psci_smp_available ())
400
400
return 0 ;
401
+ #endif
401
402
402
403
/*
403
404
* OP-TEE works on kernel 3.10 and 4.4 and we have different sip
@@ -408,6 +409,7 @@ static __init int sip_firmware_init(void)
408
409
if (IS_SIP_ERROR (res .a0 ))
409
410
pr_err ("%s: set rockchip sip version v2 failed\n" , __func__ );
410
411
412
+ #ifdef CONFIG_ARM
411
413
/*
412
414
* Currently, we support:
413
415
*
@@ -431,8 +433,8 @@ static __init int sip_firmware_init(void)
431
433
firmware_64_32bit = FIRMWARE_ATF_64BIT ;
432
434
break ;
433
435
}
436
+ #endif
434
437
435
438
return 0 ;
436
439
}
437
440
arch_initcall (sip_firmware_init );
438
- #endif
You can’t perform that action at this time.
0 commit comments