From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 9 Jan 2018 09:28:26 +0100 Subject: [U-Boot] [PATCH 5/6] board/BuR: provide real clock-frequency instead a divider In-Reply-To: <1515481127-24425-6-git-send-email-oe5hpm@oevsv.at> References: <1515481127-24425-1-git-send-email-oe5hpm@oevsv.at> <1515481127-24425-6-git-send-email-oe5hpm@oevsv.at> Message-ID: <20180109092826.43788093@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Hannes, On Tue, 9 Jan 2018 07:58:46 +0100 Hannes Schmelzer oe5hpm at oevsv.at wrote: ... > - dtbprop = FDTPROP(PATHTIM, "clock-frequency"); > - if (dtbprop != ~0UL) > - pnltmp.pxl_clk_div = 192000000 / dtbprop; > - else > - pnltmp.pxl_clk_div = ~0UL; > + pnltmp.pxl_clk_div = FDTPROP(PATHTIM, "clock-frequency"); did you test !CONFIG_USE_FDT case? This should be pnltmp.pxl_clk = FDTPROP(PATHTIM, "clock-frequency"); -- Anatolij