From mboxrd@z Thu Jan 1 00:00:00 1970 From: sbabic at denx.de Date: Sat, 20 Jul 2019 08:46:32 +0000 (UTC) Subject: [U-Boot] [PATCH v5 15/18] clk: sandbox: Adjust clk-mux.c to emulate reading divider value from HW In-Reply-To: <20190624135052.2699-16-lukma@denx.de> Message-ID: <20190720084835.AEC0FC21DB5@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > The generic mux clock code for CCF requires reading the clock multiplexer > value from HW registers. As sandbox by design has readl() as no-op it was > necessary to provide this value in the other way. > The new field in the mux structure (accessible only when sandbox is run) > has been introduced for this purpose. > Signed-off-by: Lukasz Majewski Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================