From: Patrick DELAUNAY Date: Thu, 14 May 2020 07:38:34 +0000 Subject: [PATCH V3 6/6] ARM: stm32: Implement DDR3 coding on DHCOR SoM In-Reply-To: <20200422111814.121060-6-marex@denx.de> References: <20200422111814.121060-1-marex@denx.de> <20200422111814.121060-6-marex@denx.de> 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 Hi, > From: Marek Vasut > Sent: mercredi 22 avril 2020 13:18 > > The DHCOR board does exist in multiple variants with different DDR3 DRAM sizes. > To cater for all of them, implement DDR3 code handling. > There are two GPIOs which code the DRAM size populated on the SoM, read them > out and use the value to pick the correct DDR3 config. > > Reviewed-by: Patrick Delaunay > Signed-off-by: Marek Vasut > Cc: Manivannan Sadhasivam > Cc: Patrick Delaunay > Cc: Patrice Chotard > --- > V2: Match on compatible string > V3: Add RB from Patrick > --- > arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 2 ++ > arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 2 ++ > board/dhelectronics/dh_stm32mp1/board.c | 26 +++++++++++++++++++++- > configs/stm32mp15_dhcom_basic_defconfig | 1 + > configs/stm32mp15_dhcor_basic_defconfig | 1 + > 5 files changed, 31 insertions(+), 1 deletion(-) > Applied to u-boot-stm/master, thanks! Regards Patrick