[U-Boot] [PATCH 4/4] x86: fsp: Use reset_cpu()

Bin Meng bmeng.cn at gmail.com
Mon Apr 27 06:59:55 CEST 2015


On Sat, Apr 25, 2015 at 11:04 PM, Simon Glass <sjg at chromium.org> wrote:
> Now that reset_cpu() functions correctly, use it instead of directly
> accessing the port on boards that use a Firmware Support Package (FSP).
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/x86/lib/fsp/fsp_common.c | 7 -------
>  1 file changed, 7 deletions(-)
>
> diff --git a/arch/x86/lib/fsp/fsp_common.c b/arch/x86/lib/fsp/fsp_common.c
> index f668259..001494d 100644
> --- a/arch/x86/lib/fsp/fsp_common.c
> +++ b/arch/x86/lib/fsp/fsp_common.c
> @@ -17,13 +17,6 @@ int print_cpuinfo(void)
>         return default_print_cpuinfo();
>  }
>
> -void reset_cpu(ulong addr)
> -{
> -       /* cold reset */
> -       outb(0x06, PORT_RESET);
> -}
> -
> -
>  int board_pci_post_scan(struct pci_controller *hose)
>  {
>         u32 status;
> --

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list