Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig
[platform/kernel/u-boot.git] / include / configs / at91-sama5_common.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Common part of configuration settings for the AT91 SAMA5 board.
4  *
5  * Copyright (C) 2015 Atmel Corporation
6  *                    Josh Wu <josh.wu@atmel.com>
7  */
8
9 #ifndef __AT91_SAMA5_COMMON_H
10 #define __AT91_SAMA5_COMMON_H
11
12 #include <linux/kconfig.h>
13
14 /* ARM asynchronous clock */
15 #define CONFIG_SYS_AT91_SLOW_CLOCK      32768
16 #define CONFIG_SYS_AT91_MAIN_CLOCK      12000000 /* from 12 MHz crystal */
17
18 /*
19  * BOOTP options
20  */
21 #define CONFIG_BOOTP_BOOTFILESIZE
22
23 #ifdef CONFIG_SD_BOOT
24 #else
25
26 #ifdef CONFIG_NAND_BOOT
27 /* u-boot env in nand flash */
28 #elif CONFIG_SPI_BOOT
29 /* u-boot env in serial flash, by default is bus 0 and cs 0 */
30 #endif
31
32 #endif
33
34 #endif