From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A927C433EF for ; Fri, 29 Apr 2022 21:40:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D8BAD83F16; Fri, 29 Apr 2022 23:40:28 +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="co5OUjUt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 30B5D83E3C; Fri, 29 Apr 2022 23:40:22 +0200 (CEST) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 6FDC383EFA for ; Fri, 29 Apr 2022 23:40:17 +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=jbx6244@gmail.com Received: by mail-ej1-x635.google.com with SMTP id g6so17776150ejw.1 for ; Fri, 29 Apr 2022 14:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lgtk7eA/LrlLcs17EbhN0dxEarW92xihOc20Fj/K+fE=; b=co5OUjUtmJVy2/EYqzHu9we5cQRHDfMYDQ47SEoAN7TCCorIottnFF0ZsXkMjkTKaZ 6HrFZpFcZScExyKg0H5SOLyelxrKVn7qvUES1dm6OXU4HJXQBIVrGu6dopavUl56tTbp AHRQ0SMqbU502Z7q/5OWcFpYehYaNljdbZTGyg6a5CvN7a1JigTA45NaunQj32DIMiX7 J2UXKNLFFe2/WKG0kYyWa6nWI2Chn0AQw/ui8eZAYDKl7+nm3XJKizyFCu3DvOzAZPhy BV6qI/ci1ZrUfYevgvf34zW5aLDRIGRgSKJZlbEUA0YykckCp9GVo8yoyR4Ihd6Utv1y FaVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Lgtk7eA/LrlLcs17EbhN0dxEarW92xihOc20Fj/K+fE=; b=lR9XnXoYyPgD8la3zBlHQlpvzvNSEn7qoFTuVXVRjGdTgbg+fp/FVF8gPifF+NAZXp ZG4a2HrzcBzqewShLViarXf4K92sPY36JyuK9CDkcMu6XYAgsX9yN/qy3KVy6fKF67J/ pXYCWRFG29r8EicPvgMsDACNkqOscpBlXO8jBWLOpOtkBM6pHGIOEzUa8xMOvWhH6Pn6 M9kuvjXBP2EyilfFDS1jEoeohLzoYIADsx9QA44kz5GIxylWBGVvvtPnE5MFRhm5xT28 If+nFqBMLC1Qyfv0+M5h5DTQ52un+m2XFo6jw/sP8e1SMJ2/tTYqOStLeV+vID2CqtdZ d0hw== X-Gm-Message-State: AOAM5304UqP2IFkK7eFh3QSoLyn7zu45D09+e57rdFJVew1SRK3Hl8cH 1gmSIrJo4L9NGi2BJViT6tM= X-Google-Smtp-Source: ABdhPJzWtldQ0a9eAgKczjjGms+/g5riGH0Cl699xufLiyxnBELyvaR4UhnsMJscgG7vicyPD5sN/w== X-Received: by 2002:a17:906:4cd8:b0:6db:372:c4ba with SMTP id q24-20020a1709064cd800b006db0372c4bamr1204621ejt.57.1651268416965; Fri, 29 Apr 2022 14:40:16 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id r23-20020a056402019700b0042617ba637bsm3409167edv.5.2022.04.29.14.40.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 14:40:16 -0700 (PDT) From: Johan Jonker To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@vrull.eu, lukma@denx.de, marex@denx.de, u-boot@lists.denx.de Subject: [PATCH v1 3/4] rockchip: board: change condition board_usb_init() in function Date: Fri, 29 Apr 2022 23:40:07 +0200 Message-Id: <20220429214008.26977-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220429214008.26977-1-jbx6244@gmail.com> References: <20220429214008.26977-1-jbx6244@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.5 at phobos.denx.de X-Virus-Status: Clean Change define condition in board_usb_init() function to allow rk3066/rk3188 to use the USB PHY driver. Signed-off-by: Johan Jonker --- arch/arm/mach-rockchip/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/board.c b/arch/arm/mach-rockchip/board.c index 5304eb05..cbe00d64 100644 --- a/arch/arm/mach-rockchip/board.c +++ b/arch/arm/mach-rockchip/board.c @@ -90,7 +90,7 @@ int board_usb_init(int index, enum usb_init_type init) } otg_data.regs_otg = ofnode_get_addr(node); -#ifdef CONFIG_ROCKCHIP_RK3288 +#ifdef CONFIG_ROCKCHIP_USB2_PHY int ret; u32 phandle, offset; ofnode phy_node; -- 2.20.1