From: Mark Kettenis Date: Sun, 7 Jun 2020 14:06:54 +0200 (CEST) Subject: [PATCH v2 1/2] rockchip: Enable PCIe/M.2 and NVMe on Firefly RK3399 In-Reply-To: <78feb1c4-4f14-516c-3889-bbf9e745508d@rock-chips.com> (message from Kever Yang on Mon, 1 Jun 2020 09:15:17 +0800) References: <20200525090057.6076-1-kettenis@openbsd.org> <78feb1c4-4f14-516c-3889-bbf9e745508d@rock-chips.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Kever Yang > Date: Mon, 1 Jun 2020 09:15:17 +0800 > > Hi Mark, > > This is not able to apply directly, this is the first time I met this error: > > $ git-pw patch apply 1297197 > Applying: rockchip: Enable PCIe/M.2 and NVMe on Firefly RK3399 > error: sha1 information is lacking or useless > (configs/firefly-rk3399_defconfig). > error: could not build fake ancestor > Patch failed at 0001 rockchip: Enable PCIe/M.2 and NVMe on Firefly RK3399 > > > If I use apply this patch manually, these two patch also have conflict > due to "CONFIG_BAUDRATE". Sorry, I generated these patches from a branch that has CONFIG_BAUDRATE set to a more manageable 115200. Will send a clean v3 in a moment. > > On 2020/5/25 ??5:00, Mark Kettenis wrote: > > Enable CONFIG_PCI and CONFIG_NVME and related configs for the > > Firefly RK3399 board. > > > > Signed-off-by: Mark Kettenis > > Reviewed-by: Simon Glass > > --- > > Changes in v2: > > - Extend commit message > > > > configs/firefly-rk3399_defconfig | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig > > index 831a37d607..2f2a3edb72 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=115200 > > CONFIG_DEBUG_UART_SHIFT=2 > > CONFIG_SYSRESET=y > > >