mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
83d290c56f
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
61 lines
1.3 KiB
C
61 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2012-2020 ASPEED Technology Inc.
|
|
* Ryan Chen <ryan_chen@aspeedtech.com>
|
|
*
|
|
* Copyright 2016 IBM Corporation
|
|
* (C) Copyright 2016 Google, Inc
|
|
*/
|
|
|
|
#ifndef __AST_COMMON_CONFIG_H
|
|
#define __AST_COMMON_CONFIG_H
|
|
|
|
/* Misc CPU related */
|
|
#define CONFIG_CMDLINE_TAG
|
|
#define CONFIG_SETUP_MEMORY_TAGS
|
|
#define CONFIG_INITRD_TAG
|
|
|
|
/* Enable cache controller */
|
|
#define CONFIG_SYS_DCACHE_OFF
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x80000000
|
|
|
|
#ifdef CONFIG_PRE_CON_BUF_SZ
|
|
#define CONFIG_SYS_INIT_RAM_ADDR (0x1e720000 + CONFIG_PRE_CON_BUF_SZ)
|
|
#define CONFIG_SYS_INIT_RAM_SIZE (36*1024 - CONFIG_PRE_CON_BUF_SZ)
|
|
#else
|
|
#define CONFIG_SYS_INIT_RAM_ADDR (0x1e720000)
|
|
#define CONFIG_SYS_INIT_RAM_SIZE (36*1024)
|
|
#endif
|
|
|
|
#define SYS_INIT_RAM_END (CONFIG_SYS_INIT_RAM_ADDR \
|
|
+ CONFIG_SYS_INIT_RAM_SIZE)
|
|
#define CONFIG_SYS_INIT_SP_ADDR (SYS_INIT_RAM_END \
|
|
- GENERATED_GBL_DATA_SIZE)
|
|
|
|
#define CONFIG_NR_DRAM_BANKS 1
|
|
|
|
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
|
|
|
|
/*
|
|
* NS16550 Configuration
|
|
*/
|
|
|
|
/*
|
|
* BOOTP options
|
|
*/
|
|
#define CONFIG_BOOTP_BOOTFILESIZE
|
|
|
|
/*
|
|
* Miscellaneous configurable options
|
|
*/
|
|
|
|
#define CONFIG_BOOTCOMMAND "bootm 20080000 20300000"
|
|
#define CONFIG_ENV_OVERWRITE
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
"verify=yes\0" \
|
|
"spi_dma=yes\0" \
|
|
""
|
|
|
|
#endif /* __AST_COMMON_CONFIG_H */
|