From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Wallner Date: Wed, 10 Jun 2020 15:25:24 +0200 Subject: [PATCH 02/22] x86: Move MP code into mp_init In-Reply-To: <20200522022326.238388-3-sjg@chromium.org> References: <20200522022326.238388-3-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, -----"Simon Glass" schrieb: ----- > Betreff: [PATCH 02/22] x86: Move MP code into mp_init > > At present the 'flight plan' for CPUs is passed into mp_init. But it is > always the same. Move it into the mp_init file so everything is in one > place. Also drop the SMI function since it does nothing. If we implement > SMIs, more refactoring will be needed anyway. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/i386/cpu.c | 24 +++++------------------- > arch/x86/cpu/mp_init.c | 22 ++++++++++------------ > arch/x86/include/asm/mp.h | 17 +---------------- > 3 files changed, 16 insertions(+), 47 deletions(-) > Reviewed-by: Wolfgang Wallner