From patchwork Sun Jun 7 12:06:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Kettenis X-Patchwork-Id: 1304678 X-Patchwork-Delegate: ykai007@gmail.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; dmarc=none (p=none dis=none) header.from=openbsd.org 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 49fw9819wnz9sRK for ; Sun, 7 Jun 2020 22:06:52 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2DEE580476; Sun, 7 Jun 2020 14:06:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1A5138047E; Sun, 7 Jun 2020 14:06:42 +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.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lb3-smtp-cloud9.xs4all.net (lb3-smtp-cloud9.xs4all.net [194.109.24.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C347D80199 for ; Sun, 7 Jun 2020 14:06:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=kettenis@openbsd.org Received: from barber.sibelius.xs4all.nl ([83.163.83.176]) by smtp-cloud9.xs4all.net with ESMTP id hu4OjIh5XCKzehu4PjhMWW; Sun, 07 Jun 2020 14:06:38 +0200 From: Mark Kettenis To: u-boot@lists.denx.de Cc: jagan@amarulasolutions.com, patrick@blueri.se, sjg@chromium.org, kever.yang@rock-chips.com, philipp.tomsich@theobroma-systems.com, Mark Kettenis Subject: [PATCH v3 1/2] rockchip: Enable PCIe/M.2 and NVMe on Firefly RK3399 Date: Sun, 7 Jun 2020 14:06:14 +0200 Message-Id: <20200607120615.6428-1-kettenis@openbsd.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CMAE-Envelope: MS4wfL4KNeeVaIihR1+i7yeDr36+JU0I0F/YcyLah4mXJOq3tswcGaWg1kuU4UE4cdHAY6tp5ewyZBzPVxNVr5yZa5rsyxELTSmtlu0MX125PnZjxpGmiDAF VO9VMdRvwHrnlAbjU/DAAtSaBLxGs6sl9NFnWkBnUZ+3CLlo+0Ga4puAL206HoPO8p49KomUkk0guBAmLy4DH3DmlSDZJOnXCPsTgGrXnjOfA4++gU0oKw6/ xOLRENqI6yW8Xow0Z4udpWPkrBhXbipwPjPhs0+RxZHmB3etaa+1QOoRc0pzpOz3CIum58j76vO1ojDesf9zHgLShJRWjUDaov9NnfAi+MS1pFMc37PkzSPM jZBoqkWABl/CBMNUx3ynilhHUV/baDQM940jTiv89iueaWjvGJs= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean Enable CONFIG_PCI and CONFIG_NVME and related configs for the Firefly RK3399 board. Signed-off-by: Mark Kettenis Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- configs/firefly-rk3399_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig index 4c9f1e189b..5bb54f5835 100644 --- a/configs/firefly-rk3399_defconfig +++ b/configs/firefly-rk3399_defconfig @@ -19,6 +19,7 @@ CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y +CONFIG_CMD_PCI=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y @@ -38,10 +39,13 @@ CONFIG_SF_DEFAULT_SPEED=20000000 CONFIG_DM_ETH=y CONFIG_ETH_DESIGNWARE=y CONFIG_GMAC_ROCKCHIP=y +CONFIG_NVME=y +CONFIG_PCI=y CONFIG_PMIC_RK8XX=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_RK8XX=y CONFIG_PWM_ROCKCHIP=y +CONFIG_DM_RESET=y CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y