mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
serial: atmel-usart: include arch specific headers only for AT91
Microchip LAN969x will not include any arch specific clk.h nor hardware.h, so in order to support it only include <asm/arch/clk.h> and <asm/arch/hardware.h> when AT91 is selected. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
committed by
Eugen Hristev
parent
757a7cbb3e
commit
a155dbc9f2
@@ -20,8 +20,10 @@
|
||||
#if CONFIG_IS_ENABLED(DM_SERIAL)
|
||||
#include <dm/platform_data/atmel_serial.h>
|
||||
#endif
|
||||
#if IS_ENABLED(CONFIG_ARCH_AT91)
|
||||
#include <asm/arch/clk.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
#endif
|
||||
|
||||
#include "atmel_usart.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user