mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-06 04:43:21 +09:00
63051d62b8
This patch adds the board specific configuration (struct) for the Octeon 3 EBB7304 EVK. This struct is ported from the 2013er Cavium / Marvell U-Boot repository. Also, the Octeon RAM driver is enabled in the board defconfig for its usage. Tested with one and two DIMMs on the EBB7304 EVK (8 & 16 GiB). Signed-off-by: Stefan Roese <sr@denx.de>
25 lines
646 B
C
25 lines
646 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2019-2020
|
|
* Marvell <www.marvell.com>
|
|
*/
|
|
|
|
#ifndef __OCTEON_COMMON_H__
|
|
#define __OCTEON_COMMON_H__
|
|
|
|
#if defined(CONFIG_RAM_OCTEON)
|
|
#define CONFIG_SYS_MALLOC_LEN (16 << 20)
|
|
#define CONFIG_SYS_INIT_SP_OFFSET 0x20100000
|
|
#else
|
|
/* No DDR init -> run in L2 cache with limited resources */
|
|
#define CONFIG_SYS_MALLOC_LEN (256 << 10)
|
|
#define CONFIG_SYS_INIT_SP_OFFSET 0x00180000
|
|
#endif
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0xffffffff80000000
|
|
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
|
|
|
|
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + (1 << 20))
|
|
|
|
#endif /* __OCTEON_COMMON_H__ */
|