From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Wed, 29 Mar 2017 07:22:45 +0200 Subject: [U-Boot] [PATCH 15/17] board_f: x86: Use checkcpu() for CPU init In-Reply-To: <20170328162733.20905-15-sjg@chromium.org> References: <20170328162733.20905-1-sjg@chromium.org> <20170328162733.20905-15-sjg@chromium.org> Message-ID: <814c94d4-61d8-d47c-3c85-44d555d6361e@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 28.03.2017 18:27, Simon Glass wrote: > At present we misuse print_cpuinfo() do so CPU init on x86. This is done > because it is the next available call after the console is enabled. But > several arches use checkcpu() instead. Despite the horrible name (which > we can fix), it seems a better choice. > > Adjust the various x86 CPU implementations to move their init code into > checkcpu() and use print_cpuinfo() only for printing CPU info. > > Signed-off-by: Simon Glass Reviewed-by: Stefan Roese Thanks, Stefan