From patchwork Sat Apr 25 15:04:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 464572 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id CD1611400B7 for ; Sun, 26 Apr 2015 01:05:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9FC924BEDA; Sat, 25 Apr 2015 17:05:06 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OTyo-gvRenV0; Sat, 25 Apr 2015 17:05:06 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8810D4BEF9; Sat, 25 Apr 2015 17:05:01 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 328574BE34 for ; Sat, 25 Apr 2015 17:04:52 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xXhJhIeqTKEa for ; Sat, 25 Apr 2015 17:04:52 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ig0-f202.google.com (mail-ig0-f202.google.com [209.85.213.202]) by theia.denx.de (Postfix) with ESMTPS id B66BB4BE0B for ; Sat, 25 Apr 2015 17:04:47 +0200 (CEST) Received: by igdh15 with SMTP id h15so2722094igd.0 for ; Sat, 25 Apr 2015 08:04:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ytiJkrPNYbHdTe5xPzwVrVwPjRJiE7KIwdaOLnQxUa0=; b=XxuyEDoLV8ZBbKEdXP6nSRHaOWy7hDIlTpEuwwDc83X+/jT3TmRXQd7denE6TUFGhx UKtU1+RTBulp+6mbpcG+AxWRM0+XqrPYdBsbWvgDSuWHpmMWZlGB8Moy6gsXFvgch91/ 1U4+YBDmg3vakVfSInoeft/Q20WQAxYoTcwQCfIMYGmKzDgKaHqMrE/Czhy/roQJkWMP eyursky0WlXtzXLw+BIfjEsLLkq3gVuFzdJu6qI+1/iD9dgBy51QgZQJymdRK/N08Wd8 3L6gXcSM5ZYYXnVC3Hlog3PV8Y5JIUa7n7NMoNQKohWAN9WlENUfD8JqpF7pkv4H6yD4 VonA== X-Gm-Message-State: ALoCoQm5J75PAjWeGAS7Cqb7+fLjlsNuaBVUKGuF/w1n/bItu8e0jwJfGxwj1LICDgft+/LAIFKX X-Received: by 10.42.51.20 with SMTP id c20mr6670182icg.15.1429974286913; Sat, 25 Apr 2015 08:04:46 -0700 (PDT) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id l36si845045yhb.1.2015.04.25.08.04.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Apr 2015 08:04:46 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id arGTLoo6.1; Sat, 25 Apr 2015 08:04:46 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 48FB0220D07; Sat, 25 Apr 2015 09:04:46 -0600 (MDT) From: Simon Glass To: u-boot@lists.denx.de, Simon Glass , Graeme Russ Date: Sat, 25 Apr 2015 09:04:34 -0600 Message-Id: <1429974275-13743-3-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1429974275-13743-1-git-send-email-sjg@chromium.org> References: <1429974275-13743-1-git-send-email-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH 3/4] x86: quark: Use reset_cpu() X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Now that reset_cpu() functions correctly, use it instead of directly accessing the port. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- arch/x86/cpu/quark/quark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/quark/quark.c b/arch/x86/cpu/quark/quark.c index e4b19c2..a5aa014 100644 --- a/arch/x86/cpu/quark/quark.c +++ b/arch/x86/cpu/quark/quark.c @@ -110,7 +110,7 @@ int print_cpuinfo(void) void reset_cpu(ulong addr) { /* cold reset */ - outb(0x08, PORT_RESET); + x86_full_reset(); } int cpu_mmc_init(bd_t *bis)