From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 9 Dec 2015 22:35:53 +0100 Subject: [U-Boot] [PATCH] ARM: mxs: allow boards to select DC-DC switching clock source In-Reply-To: <1449696646-13930-1-git-send-email-mhei@heimpold.de> References: <1449696646-13930-1-git-send-email-mhei@heimpold.de> Message-ID: <201512092235.53227.marex@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 On Wednesday, December 09, 2015 at 10:30:46 PM, Michael Heimpold wrote: > For some board designs, it might be useful to switch the DC-DC > clock source to something else rather the default 24 MHz, e.g. > for EMI reasons. > > For this, use something like this in your board configuration: > > Signed-off-by: Michael Heimpold > Cc: Marek Vasut > Cc: Otavio Salvador > Cc: Fabio Estevam > --- > > I'm not sure whether the position to set these bits is the best one. Can we do it without the ifdef ? I don't like that at all. You can probably use a weak function instead. Best regards, Marek Vasut