[PATCH 2/5] ARM: boards: Fix unconditional compilation of imx51-babbage directory

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Jun 1 23:51:53 PDT 2022


On 02.06.22 08:47, Sascha Hauer wrote:
> On Wed, Jun 01, 2022 at 09:02:23AM +0300, Alexander Shiyan wrote:
>> Signed-off-by: Alexander Shiyan <eagle.alexander923 at gmail.com>
>> ---
>>  arch/arm/boards/Makefile | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
>> index d303999614..042b27a804 100644
>> --- a/arch/arm/boards/Makefile
>> +++ b/arch/arm/boards/Makefile
>> @@ -47,7 +47,7 @@ obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD)		+= eukrea_cpuimx51/
>>  obj-$(CONFIG_MACH_ELTEC_HIPERCAM)		+= eltec-hipercam/
>>  obj-$(CONFIG_MACH_FREESCALE_MX25_3STACK)	+= freescale-mx25-3ds/
>>  obj-$(CONFIG_MACH_FREESCALE_MX35_3STACK)	+= freescale-mx35-3ds/
>> -obj-y						+= freescale-mx51-babbage/
>> +obj-$(CONFIG_MACH_FREESCALE_MX51_PDK)		+= freescale-mx51-babbage/
> 
> This change was intentional. The board code exports imx51_babbage_power_init()
> which is used by the zii-imx51-rdu1 board code as well.

FWIW, we have added common/boards/ since then, which can be used for
such functions.

Cheers,
Ahmad

> 
> Sascha
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list