blob: c0ea9e852dce0d925c7c59f6e35cb323fd30b416 [file] [log] [blame]
Stefan Roese5fef24c2020-06-30 12:08:58 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019-2020
4 * Marvell <www.marvell.com>
5 */
6
7#ifndef __OCTEON_COMMON_H__
8#define __OCTEON_COMMON_H__
9
Stefan Roese63051d62020-09-02 08:29:10 +020010#if defined(CONFIG_RAM_OCTEON)
Tom Rini65cc0e22022-11-16 13:10:41 -050011#define CFG_SYS_INIT_SP_OFFSET 0x20180000
Stefan Roese63051d62020-09-02 08:29:10 +020012#else
13/* No DDR init -> run in L2 cache with limited resources */
Tom Rini65cc0e22022-11-16 13:10:41 -050014#define CFG_SYS_INIT_SP_OFFSET 0x00180000
Stefan Roese63051d62020-09-02 08:29:10 +020015#endif
16
Tom Riniaa6e94d2022-11-16 13:10:37 -050017#define CFG_SYS_SDRAM_BASE 0xffffffff80000000
Stefan Roese5fef24c2020-06-30 12:08:58 +020018
Stefan Roese5fef24c2020-06-30 12:08:58 +020019#endif /* __OCTEON_COMMON_H__ */