diff options
author | Gabriel Huau <contact@huau-gabriel.fr> | 2014-07-26 18:35:43 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-08-20 09:52:54 (GMT) |
commit | a76df7090882c32e9551590673fb76708346f85d (patch) | |
tree | b23341c861c1d167fd15c7c066785898497d17bf /arch/arm/include/asm/arch-mx6/sys_proto.h | |
parent | 015e215bbf70214d7c3bec2eca691edb6b73b28e (diff) | |
download | u-boot-a76df7090882c32e9551590673fb76708346f85d.tar.xz |
mx6: add support of multi-processor command
This allows u-boot to load different OS or Bare Metal application on
different cores of the i.MX6 SoC.
For example: running Android on cpu0 and a RT OS like QNX/FreeRTOS on cpu1.
Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/sys_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 42d30f5..306d699 100644 --- a/arch/arm/include/asm/arch-mx6/sys_proto.h +++ b/arch/arm/include/asm/arch-mx6/sys_proto.h @@ -14,6 +14,7 @@ #define soc_rev() (get_cpu_rev() & 0xFF) #define is_soc_rev(rev) (soc_rev() - rev) +u32 get_nr_cpus(void); u32 get_cpu_rev(void); /* returns MXC_CPU_ value */ |