mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
e4d741f8ab
This converts the following to Kconfig: CONFIG_SYS_MONITOR_BASE Note that for how this is re-used on some PowePC platforms, we introduce CONFIG_SPL_SYS_MONITOR_BASE and CONFIG_TPL_SYS_MONITOR_BASE and use the CONFIG_VAL macro to get the correct value at build time, in the code. Signed-off-by: Tom Rini <trini@konsulko.com>
50 lines
1.4 KiB
C
50 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* CI20 configuration
|
|
*
|
|
* Copyright (c) 2013 Imagination Technologies
|
|
* Author: Paul Burton <paul.burton@imgtec.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_CI20_H__
|
|
#define __CONFIG_CI20_H__
|
|
|
|
/* Ingenic JZ4780 clock configuration. */
|
|
#define CONFIG_SYS_MHZ 1200
|
|
#define CONFIG_SYS_MIPS_TIMER_FREQ (CONFIG_SYS_MHZ * 1000000)
|
|
|
|
/* Memory configuration */
|
|
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
|
|
#define CONFIG_SYS_BOOTPARAMS_LEN (128 * 1024)
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x80000000 /* cached (KSEG0) address */
|
|
#define CONFIG_SYS_INIT_SP_OFFSET 0x400000
|
|
|
|
/* NS16550-ish UARTs */
|
|
#define CONFIG_SYS_NS16550_CLK 48000000
|
|
|
|
/* Ethernet: davicom DM9000 */
|
|
#define CONFIG_DRIVER_DM9000 1
|
|
#define CONFIG_DM9000_BASE 0xb6000000
|
|
#define DM9000_IO CONFIG_DM9000_BASE
|
|
#define DM9000_DATA (CONFIG_DM9000_BASE + 2)
|
|
|
|
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O buffer size */
|
|
#define CONFIG_SYS_MAXARGS 32 /* Max number of command args */
|
|
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
|
|
/* Boot argument buffer size */
|
|
|
|
/* Miscellaneous configuration options */
|
|
#define CONFIG_SYS_BOOTM_LEN (64 << 20)
|
|
|
|
/* SPL */
|
|
#define CONFIG_SPL_STACK 0xf4008000 /* only max. 2KB spare! */
|
|
|
|
#define CONFIG_SPL_MAX_SIZE ((14 * 1024) - 0xa00)
|
|
|
|
#define CONFIG_SPL_BSS_START_ADDR 0xf4004000
|
|
#define CONFIG_SPL_BSS_MAX_SIZE 0x00002000 /* 512KB, arbitrary */
|
|
|
|
#define CONFIG_SPL_START_S_PATH "arch/mips/mach-jz47xx"
|
|
|
|
#endif /* __CONFIG_CI20_H__ */
|