From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tan, Ley Foon Date: Wed, 24 Mar 2021 08:23:52 +0000 Subject: [v2 2/2] arm: socfpga: Changed to store QSPI reference clock in kHz In-Reply-To: <20210324061935.7306-3-elly.siew.chin.lim@intel.com> References: <20210324061935.7306-1-elly.siew.chin.lim@intel.com> <20210324061935.7306-3-elly.siew.chin.lim@intel.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 > -----Original Message----- > From: Lim, Elly Siew Chin > Sent: Wednesday, March 24, 2021 2:20 PM > To: u-boot at lists.denx.de > Cc: Marek Vasut ; Tan, Ley Foon > ; See, Chin Liang ; > Simon Goldschmidt ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai ; Lim, Elly Siew Chin > > Subject: [v2 2/2] arm: socfpga: Changed to store QSPI reference clock in kHz > > Changed to store QSPI reference clock in kHz instead of Hz in boot scratch > cold0 register for Stratix10 and Agilex. > > This patch is in preparation for Intel N5X SDRAM driver support. Reserved 4 > bits for Intel N5X SDRAM driver, and there will be 28 bits to store QSPI > reference clock. > Due to limited bits, QSPI reference clock frequency is converted to kHz from > Hz. > > Signed-off-by: Siew Chin Lim > Signed-off-by: Tien Fong Chee > > --- > v2: > - Rename mbox_qspi_set_controller_clk_hz function to > cm_set_qspi_controller_clk_hz function and move to clock_manager.c. > - Remove CLOCK_1K macro from socfpga_soc64_common.h > - Sort include file list by alphabetical order in mailbox_s10.c > --- > Reviewed-by: Ley Foon Tan