mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
28388f4ddb
We need to include <config.h> directly when a file needs to have something such as CFG_SYS_SDRAM_SIZE referenced as this file is not automatically globally included and is most commonly indirectly included via common.h. Remove most cases of arc including config.h directly, but add it where needed. Further clean up the tb100 board config.h file so that we don't rely on config.h being included there for a value used in a single place. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com>
24 lines
446 B
C
24 lines
446 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2011-2014 Pierrick Hascoet, Abilis Systems
|
|
*/
|
|
|
|
#ifndef _CONFIG_TB100_H_
|
|
#define _CONFIG_TB100_H_
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/*
|
|
* Memory configuration
|
|
*/
|
|
|
|
#define CFG_SYS_DDR_SDRAM_BASE 0x80000000
|
|
#define CFG_SYS_SDRAM_BASE CFG_SYS_DDR_SDRAM_BASE
|
|
#define CFG_SYS_SDRAM_SIZE SZ_128M
|
|
|
|
/*
|
|
* UART configuration
|
|
*/
|
|
#define CFG_SYS_NS16550_CLK 166666666
|
|
|
|
#endif /* _CONFIG_TB100_H_ */
|