mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
b106961c2e
In general terms, we -include include/linux/kconfig.h and so normal U-Boot code does not need to also #include it. However, for code which is shared with userspace we may need to add it so that either our full config is available or so that macros such as CONFIG_IS_ENABLED() can be evaluated. In this case make sure that we guard these includes with a test for USE_HOSTCC so that it clear as to why we're doing this. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
16 lines
409 B
C
16 lines
409 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Common part of configuration settings for the AT91 SAMA5 board.
|
|
*
|
|
* Copyright (C) 2015 Atmel Corporation
|
|
* Josh Wu <josh.wu@atmel.com>
|
|
*/
|
|
|
|
#ifndef __AT91_SAMA5_COMMON_H
|
|
#define __AT91_SAMA5_COMMON_H
|
|
|
|
/* ARM asynchronous clock */
|
|
#define CFG_SYS_AT91_SLOW_CLOCK 32768
|
|
#define CFG_SYS_AT91_MAIN_CLOCK 12000000 /* from 12 MHz crystal */
|
|
|
|
#endif
|