From patchwork Sun Jun 20 02:34:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheep Sun X-Patchwork-Id: 1494719 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=FLgXLQrT; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G6xZz47zmz9sRN for ; Sun, 20 Jun 2021 12:35:05 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3DF8782986; Sun, 20 Jun 2021 04:34:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FLgXLQrT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 01E3B8298E; Sun, 20 Jun 2021 04:34:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_FROM,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 78962814A4 for ; Sun, 20 Jun 2021 04:34:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sunxiaoyang2003@gmail.com Received: by mail-ej1-x630.google.com with SMTP id gt18so22391667ejc.11 for ; Sat, 19 Jun 2021 19:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=J25LFoXYmW7y5ZZjINn1CvB/ZYljwlcD5xvxjkXLcE4=; b=FLgXLQrTqSsFYTJbAifwksfs/XczVxCtkuLs3uTayTcvN6BH+xCiMEm6LE276E8Fji Vp6sh5Vf57S7T+hpBWC5v1YKAI99DlfiZxS74pWe2VUqMG0YI6rbDrYrHmA5qs1DxCDi faslnI2MMAxbCBvyqGALJCAMD9EmBxS+4CAYCS2OuoH2NQAIirkMlvYtpOcZLAXBN0TS 5E0Fm3+cHGhXndg9GMIKaEb0VgV/93v/M0Qxn41m+y351Y39VS9tqzJtAdVSK8zbawcQ FvE3K+HVg3+Wrj+RN9PxjRHFJjsEUdA8+DAj+QC3wqKIolSu5xQYRLwgBYr6JYyIjvW7 Wp4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=J25LFoXYmW7y5ZZjINn1CvB/ZYljwlcD5xvxjkXLcE4=; b=CJod3DDVaH1FxRsg7y7lzhiHdkkdLrWnZowxeZmBgX03yt+AR+fjD0j9oGqvO5uVdp 3eOQnEuiPzY5D4E+/GNG1JFtbdT4j3yfZkKnLQTaOMeVuOP0SLCYHeYMX2ep7HUAekYR G00Yp/NdZK3V3kpW45vL1ouObmTWui7r+7f3RmxWIGcgYCt8IxvuuVOTYPxnWI0Ko1iH QORzDn7AKzzAcxPvzMIsJRZTaSBIpJWQkZYkN4L5eNetbG/GVB6vx/OPFBCfyCPk/E4V 1H+Nuri3Nq+6fV6iFc0mUcJaZ9ivKaBJukB/ddZZf7Fd3SZFr7lkwXOPtgnuwa/Csn3Y fFWQ== X-Gm-Message-State: AOAM531vPY0XrkTPV/ckRWvvTwddpPGkYNhsmryoYbeDt9Qhc5LyDbVY SfHLdrenKeOeC6i9peRK9K7EEaMVBO37Zg== X-Google-Smtp-Source: ABdhPJzsX+A5CPyfy1vLc3x9xQ4kq5LDPj6AhOLuazeG6Lc0jxOgtYQbEu0z1s0uiAP/ydOAFkobFw== X-Received: by 2002:a17:907:2642:: with SMTP id ar2mr17981486ejc.391.1624156488860; Sat, 19 Jun 2021 19:34:48 -0700 (PDT) Received: from localhost ([78.141.209.1]) by smtp.gmail.com with ESMTPSA id m11sm3157602ejl.102.2021.06.19.19.34.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Jun 2021 19:34:48 -0700 (PDT) From: Sheep Sun To: u-boot@lists.denx.de Cc: Sheep Sun , Mateusz Kulikowski , Ramon Fried , Tom Rini Subject: [PATCH 1/2] arm: snapdragon: Use correct GICC register on APQ8016 Date: Sun, 20 Jun 2021 10:34:34 +0800 Message-Id: <20210620023435.837965-1-sunxiaoyang2003@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The GICC register used by u-boot is 0x0a20c000, which is actually a GICC for WCNSS, the WLAN processor. U-boot runs on the Application Processor, therefore it should use APCS GICC instead. Hence, correct it with APCS GICC register address. Signed-off-by: Sheep Sun --- arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h b/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h index 520e2e6bd7..d9a3b1af98 100644 --- a/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h +++ b/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h @@ -8,7 +8,7 @@ #define _MACH_SYSMAP_APQ8016_H #define GICD_BASE (0x0b000000) -#define GICC_BASE (0x0a20c000) +#define GICC_BASE (0x0b002000) /* Clocks: (from CLK_CTL_BASE) */ #define GPLL0_STATUS (0x2101C)