Home
last modified time | relevance | path

Searched refs:CPU_ID_GET (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/board/synopsys/hsdk/
Dhsdk.c311 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_1); in hsdk_core_init_f()
312 init_slave_cpu_func(CPU_ID_GET()); in hsdk_core_init_f()
315 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_2); in hsdk_core_init_f()
328 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_3); in hsdk_core_init_f()
333 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_4); in hsdk_core_init_f()
336 ((void (*)(void))(arc_read_uncached_32(&cross_cpu_data.entry[CPU_ID_GET()])))(); in hsdk_core_init_f()
339 arc_write_uncached_32(&cross_cpu_data.status[CPU_ID_GET()], BOOTSTAGE_5); in hsdk_core_init_f()
596 if (CPU_ID_GET() == MASTER_CPU_ID) in check_master_cpu_id()
599 pr_err("u-boot runs on non-master cpu with id: %lu\n", CPU_ID_GET()); in check_master_cpu_id()
649 pr_err("u-boot still runs on cpu [%ld]\n", CPU_ID_GET()); in hsdk_go_run()
/external/u-boot/arch/arc/include/asm/
Darcregs.h90 #define CPU_ID_GET() ((read_aux_reg(ARC_AUX_IDENTITY) & 0xFF00) >> 8) macro