]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/avr32/include/asm/arch-at32ap700x/chip-features.h
stm32: Correct positioning of declaration
[people/ms/u-boot.git] / arch / avr32 / include / asm / arch-at32ap700x / chip-features.h
CommitLineData
5fee84a7
HS
1/*
2 * Copyright (C) 2007 Atmel Corporation
3 *
1a459660 4 * SPDX-License-Identifier: GPL-2.0+
5fee84a7
HS
5 */
6#ifndef __ASM_AVR32_ARCH_CHIP_FEATURES_H__
7#define __ASM_AVR32_ARCH_CHIP_FEATURES_H__
8
9/* Currently, all the AP700x chips have these */
10#define AT32AP700x_CHIP_HAS_USART
11#define AT32AP700x_CHIP_HAS_MMCI
60445cb5 12#define AT32AP700x_CHIP_HAS_SPI
5fee84a7
HS
13
14/* Only AP7000 has ethernet interface */
15#ifdef CONFIG_AT32AP7000
16#define AT32AP700x_CHIP_HAS_MACB
17#endif
18
716ece1d
MJ
19/* AP7000 and AP7002 have LCD controller, but AP7001 does not */
20#if defined(CONFIG_AT32AP7000) || defined(CONFIG_AT32AP7002)
21#define AT32AP700x_CHIP_HAS_LCDC
22#endif
23
5fee84a7 24#endif /* __ASM_AVR32_ARCH_CHIP_FEATURES_H__ */