From: Paul Burton Date: Wed, 21 Sep 2016 13:59:54 +0000 (+0100) Subject: MIPS: Hang if run on a secondary CPU X-Git-Tag: v2016.11-rc1~120^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31d36f748c52b22833aa946f6c406cc8fb2f1908;hp=31d36f748c52b22833aa946f6c406cc8fb2f1908;p=platform%2Fkernel%2Fu-boot.git MIPS: Hang if run on a secondary CPU Some systems are configured such that multiple CPUs begin running from their reset vector following a system reset. If this occurs then U-Boot will be run on multiple CPUs simultaneously, which causes all sorts of issues as the multiple instances of U-Boot clobber each other. Prevent this from happening by simply hanging with an infinite loop if we run on a CPU whose ID, as determined by GlobalNumber or EBase.CPUNum as appropriate, is non-zero. Signed-off-by: Paul Burton ---