From patchwork Thu Jun 15 19:06:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 1795580 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=oUuGZOB9; 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QhsHH7201z20QH for ; Fri, 16 Jun 2023 05:07:23 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF73E8607F; Thu, 15 Jun 2023 21:07:11 +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="oUuGZOB9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D2638607F; Thu, 15 Jun 2023 21:07:09 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 BEDA78607F for ; Thu, 15 Jun 2023 21:07:06 +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=cfsworks@gmail.com Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-3408217cd66so12536795ab.0 for ; Thu, 15 Jun 2023 12:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686856025; x=1689448025; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=h8qVwZb5ACSvUwFF+QmCcN/gw8/8nXwherGhvHfq/Bk=; b=oUuGZOB92qNbZj/f8qKEOJ0BkuAPtKoayty0JEvQpF6CdpZujJjfV3AeDaVJGQ/hm6 1ZOrDtwQqKN9pPlTa3hJVC6O4oXoDBBU2S1NTunvwcHbwF6YCixcKt8kK8pWTQn9q0Fk PjshiijLDpVkIJmd2J9N2cDq1QDd58Yq2rRlf+UJ4sBnE9tKTL41Wvlt+OSQNIgnWKib v190MQcEkzyJ6u/ulJzaI6WlP0YC7SSzRCiZVv233/+CHmCXvTrbAtrGs/DbmWJHcBK4 ElnKtEqjBm3pAkWXAlMiMVqDVUVIL4C6VPBL9W1gXufX50IyFZRzkaWNWa9n+1F4xijS FHKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686856025; x=1689448025; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h8qVwZb5ACSvUwFF+QmCcN/gw8/8nXwherGhvHfq/Bk=; b=G3OleHBWn0iFJq40CaA5Uctu3NiAoCwc+Xpeqyn0JBNmVeBabkw1DLo8nfpdOy+Y0c 6koKCgcxZnoXSvNmNAHnW/yH/A9Pm3SJICrnV7uzXoOJ7ybEoemd+pFVfdAAHfzaOmQm G+sV6zsBGBg6fZ13hSDUOn1jIym6LczPVmqIqGNaIJp/JI7iCjCFIvxAyIrBGuj7O3Re pQiDnyfG1Z/dRLT7drDFnimDX/lqOL6xGA3b6qnKPjQx2K94H/L0ONeyDIJwHVfd+fWc tQMKLdGQZBlIPGXwQXPm+NMHmPONivGgawcVij0sFuvD9OiDB76TWxrXUMQyZOvIcQU0 NTHA== X-Gm-Message-State: AC+VfDxhepujgU7TRGKs3b26KFMRDGMwYNXNmEmp5D0rfdEf5OIxKsAT uaEXfd6gKTzcfnhPDYe3W6ZAAzUWhnYZ/EeW X-Google-Smtp-Source: ACHHUZ6Iy4ISm8XSJvutc0SPBUEwBIAYavZCqIRSr1AF4PgE6TRwmLqx2m9o8aK60o54RbrX+ixqVQ== X-Received: by 2002:a92:d9c6:0:b0:341:c785:b615 with SMTP id n6-20020a92d9c6000000b00341c785b615mr354834ilq.5.1686856025113; Thu, 15 Jun 2023 12:07:05 -0700 (PDT) Received: from celestia.nettie.lan ([2001:470:42c4:101:b738:8cfc:8eb7:c069]) by smtp.gmail.com with ESMTPSA id o9-20020a92c689000000b0034095da6b5csm2224571ilg.80.2023.06.15.12.07.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 12:07:04 -0700 (PDT) From: Sam Edwards X-Google-Original-From: Sam Edwards To: u-boot@lists.denx.de Cc: Andre Przywara , Jagan Teki , Sam Edwards Subject: [PATCH v4 0/2] sunxi, usb: Clean up SRAM initialization code Date: Thu, 15 Jun 2023 13:06:59 -0600 Message-Id: <20230615190701.327852-1-CFSworks@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Hi list, Only change from v4 is that I reworded the commit message in 2/2 not to mention the TODO comment block that I removed in v3. Cheers, Sam Sam Edwards (2): usb: musb-new: sunxi: only perform SRAM initialization when necessary usb: musb-new: sunxi: clarify the purpose of SRAM initialization drivers/usb/musb-new/sunxi.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-)