From: Kever Yang Date: Fri, 24 Apr 2020 18:15:17 +0800 Subject: support of rockchip nanopiM4 2GB board In-Reply-To: References: Message-ID: <85cce425-b29b-00a8-c875-be2fb94731a4@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Deepak, Jagan, On 2020/4/23 ??7:29, Jagan Teki wrote: > On Thu, Apr 23, 2020 at 4:37 PM Deepak Das wrote: >> Hi Jagan, >> >> upstream uboot has the support for nanopi M4 board with 4GB LPDDR3 RAM. >> I have a nanopi M4 board with 2GB DDR3 RAM and able to boot this board >> by using ddr3 configuration. >> >> +// SPDX-License-Identifier: GPL-2.0+ >> +/* >> + * Copyright (C) 2019 Jagan Teki >> + */ >> + >> +#include "rk3399-nanopi4-u-boot.dtsi" >> +#include "rk3399-sdram-ddr3-1866.dtsi" >> + >> +/* #include "rk3399-sdram-lpddr3-samsung-4GB-1866.dtsi" */ >> >> how to handle this situation? do we need to treat this as a new board >> support? > Possible approach is to check the chip type and vendor during probe > and source the respective .dtsi > > YouMin and Kever, any ideas? We can auto detect the different capacity for the same DRAM type, but if the dram type is not the same, it usually treat as different boards. And this is the first time for a board use two different type DRAM, does both type of nanopi M4 with DDR3 and LPDDR3 are available on the market, or maybe one of them is internal version? Thanks, - Kever > > Jagan. > >