summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6/sys_proto.h
diff options
context:
space:
mode:
authorGabriel Huau <contact@huau-gabriel.fr>2014-07-26 11:35:43 -0700
committerStefano Babic <sbabic@denx.de>2014-08-20 11:52:54 +0200
commita76df7090882c32e9551590673fb76708346f85d (patch)
treeb23341c861c1d167fd15c7c066785898497d17bf /arch/arm/include/asm/arch-mx6/sys_proto.h
parent015e215bbf70214d7c3bec2eca691edb6b73b28e (diff)
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.h1
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 42d30f5021..306d6998ce 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 */