summaryrefslogtreecommitdiff
path: root/include/configs/octeon_common.h
blob: 2e4bfd035162b30e71e663320ec806b29b36c2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 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_INIT_SP_OFFSET	0x20100000
#else
/* No DDR init -> run in L2 cache with limited resources */
#define CONFIG_SYS_INIT_SP_OFFSET	0x00180000
#endif

#define CONFIG_SYS_SDRAM_BASE		0xffffffff80000000

#define CONFIG_SYS_BOOTM_LEN		(64 << 20)	/* 64M */

#endif /* __OCTEON_COMMON_H__ */