
11 Nov
2019
11 Nov
'19
4:18 p.m.
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Michael Walle Sent: Tuesday, October 22, 2019 4:41 AM To: u-boot@lists.denx.de Cc: Yinbo Zhu yinbo.zhu@nxp.com Subject: [U-Boot] [PATCH] armv8: fsl-lsch3: convert CONFIG_TARGET_x to CONFIG_ARCH_x
The clocks are not dependent on the target but only on the SoC. Therefore, convert the CONFIG_TARGET_x macros to the corresponding CONFIG_ARCH_x. This will allow other targets to automatically use the common code. Otherwise every new target would have to add itself to the "#if defined(CONFIG_TARGET_x) || .." macros.
Signed-off-by: Michael Walle michael@walle.cc
Applied to fsl-qoriq master, awaiting upstream.
Thanks priyankajain