mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
702de89cc6
Move below defines which are used by mtest utility to Kconfig. CONFIG_SYS_MEMTEST_START CONFIG_SYS_MEMTEST_END Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> [trini: Fix kmcoge5ne board, re-run migration as well] Signed-off-by: Tom Rini <trini@konsulko.com>
60 lines
1.2 KiB
C
60 lines
1.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2019 Microchip Technology Inc.
|
|
* Padmarao Begari <padmarao.begari@microchip.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
/*
|
|
* CPU and Board Configuration Options
|
|
*/
|
|
#define CONFIG_BOOTP_SEND_HOSTNAME
|
|
|
|
/*
|
|
* Miscellaneous configurable options
|
|
*/
|
|
#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
|
|
|
|
/*
|
|
* Print Buffer Size
|
|
*/
|
|
#define CONFIG_SYS_PBSIZE \
|
|
(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
|
|
|
|
/*
|
|
* max number of command args
|
|
*/
|
|
#define CONFIG_SYS_MAXARGS 16
|
|
|
|
/*
|
|
* Boot Argument Buffer Size
|
|
*/
|
|
#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
|
|
|
|
/*
|
|
* Size of malloc() pool
|
|
* 512kB is suggested, (CONFIG_ENV_SIZE + 128 * 1024) was not enough
|
|
*/
|
|
#define CONFIG_SYS_MALLOC_LEN (512 << 10)
|
|
|
|
/*
|
|
* Physical Memory Map
|
|
*/
|
|
#define PHYS_SDRAM_0 0x80000000 /* SDRAM Bank #1 */
|
|
#define PHYS_SDRAM_0_SIZE 0x40000000 /* 1 GB */
|
|
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_0
|
|
|
|
/* Init Stack Pointer */
|
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x200000)
|
|
|
|
#define CONFIG_SYS_LOAD_ADDR 0x80000000 /* SDRAM */
|
|
|
|
/*
|
|
* memtest works on DRAM
|
|
*/
|
|
|
|
/* When we use RAM as ENV */
|
|
|
|
#endif /* __CONFIG_H */
|