blob: 4e5653dc886ea35d439925ea7473f6329bca185a [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glassc861fbf2011-10-03 19:26:47 +00002/*
3 * Copyright (c) 2011 The Chromium OS Authors.
Simon Glassc861fbf2011-10-03 19:26:47 +00004 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
Tom Rinidd5b58c2022-12-04 10:04:49 -05009#define CFG_MALLOC_F_ADDR 0x0010000
Simon Glassc861fbf2011-10-03 19:26:47 +000010
Simon Glassc861fbf2011-10-03 19:26:47 +000011/* Size of our emulated memory */
Heinrich Schuchardte85497a2020-06-07 18:47:35 +020012#define SB_CONCAT(x, y) x ## y
13#define SB_TO_UL(s) SB_CONCAT(s, UL)
Tom Riniaa6e94d2022-11-16 13:10:37 -050014#define CFG_SYS_SDRAM_BASE 0
15#define CFG_SYS_SDRAM_SIZE \
Heinrich Schuchardte85497a2020-06-07 18:47:35 +020016 (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20)
Simon Glassc861fbf2011-10-03 19:26:47 +000017
Tom Rini65cc0e22022-11-16 13:10:41 -050018#define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
Simon Glassc861fbf2011-10-03 19:26:47 +000019 115200}
Simon Glassc861fbf2011-10-03 19:26:47 +000020
Simon Glassc861fbf2011-10-03 19:26:47 +000021#endif