From mboxrd@z Thu Jan 1 00:00:00 1970 From: Icenowy Zheng Date: Thu, 02 Nov 2017 16:27:51 +0800 Subject: [U-Boot] [PATCH] sunxi: lower the DRAM frequency of Nano Pi NEO2 to 504MHz In-Reply-To: References: <20171102033652.11019-1-icenowy@aosc.io> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 在 2017-11-02 16:25,Jagan Teki 写道: > On Thu, Nov 2, 2017 at 9:06 AM, Icenowy Zheng wrote: >> The BSP of Nano Pi NEO2 provided by FriendlyARM uses 504MHz DRAM >> frequency, which is much lower than the current 672MHz used in >> mainline. >> >> Switch to use the BSP-provided frequency 504MHz for DRAM. >> >> Thanks to Thomas Kaiser, who pointed out the frequency problem. >> >> Signed-off-by: Icenowy Zheng >> --- >> configs/nanopi_neo2_defconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/configs/nanopi_neo2_defconfig >> b/configs/nanopi_neo2_defconfig >> index b8e089176f..e210af4f0e 100644 >> --- a/configs/nanopi_neo2_defconfig >> +++ b/configs/nanopi_neo2_defconfig >> @@ -1,7 +1,7 @@ >> CONFIG_ARM=y >> CONFIG_ARCH_SUNXI=y >> CONFIG_MACH_SUN50I_H5=y >> -CONFIG_DRAM_CLK=672 >> +CONFIG_DRAM_CLK=504 > > Can you point me the BSP, here what I refer to have [1] The file at [1] is just from mainline. The BSP configuration is at [2]. [2] https://github.com/friendlyarm/h5_lichee/blob/master/tools/pack/chips/sun50iw2p1/configs/cheetah-p1/board/sys_config_nanopi-neo2.fex > > [1] > https://github.com/friendlyarm/u-boot/blob/sunxi-v2017.x/configs/nanopi_neo2_defconfig > > thanks!