From a76df7090882c32e9551590673fb76708346f85d Mon Sep 17 00:00:00 2001 From: Gabriel Huau Date: Sat, 26 Jul 2014 11:35:43 -0700 Subject: 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 Acked-by: Stefano Babic --- common/board_f.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/board_f.c b/common/board_f.c index 6203d85..e1dbdf3 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -34,6 +34,9 @@ #ifdef CONFIG_MPC5xxx #include #endif +#if (defined(CONFIG_MPC86xx) || defined(CONFIG_E500)) +#include +#endif #include #include @@ -43,9 +46,6 @@ #include #include #include -#ifdef CONFIG_MP -#include -#endif #include #ifdef CONFIG_X86 #include @@ -381,7 +381,7 @@ static int setup_dest_addr(void) gd->ram_top = board_get_usable_ram_top(gd->mon_len); gd->relocaddr = gd->ram_top; debug("Ram top: %08lX\n", (ulong)gd->ram_top); -#if defined(CONFIG_MP) && (defined(CONFIG_MPC86xx) || defined(CONFIG_E500)) +#if (defined(CONFIG_MPC86xx) || defined(CONFIG_E500)) /* * We need to make sure the location we intend to put secondary core * boot code is reserved and not used by any part of u-boot -- cgit v1.1