blob: 2372485c84e9afdb5eac159e0f3e04edbb4557e4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Simon Glassd2fdaaf2011-10-03 19:26:47 +00002/*
3 * Copyright (c) 2011 The Chromium OS Authors.
Simon Glassd2fdaaf2011-10-03 19:26:47 +00004 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
Tom Rinifb52b942022-12-04 10:04:49 -05009#define CFG_MALLOC_F_ADDR 0x0010000
Simon Glassd2fdaaf2011-10-03 19:26:47 +000010
Simon Glassd2fdaaf2011-10-03 19:26:47 +000011/* Size of our emulated memory */
Heinrich Schuchardtfff251e2020-06-07 18:47:35 +020012#define SB_CONCAT(x, y) x ## y
13#define SB_TO_UL(s) SB_CONCAT(s, UL)
Tom Rinibb4dd962022-11-16 13:10:37 -050014#define CFG_SYS_SDRAM_BASE 0
15#define CFG_SYS_SDRAM_SIZE \
Heinrich Schuchardtfff251e2020-06-07 18:47:35 +020016 (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20)
Simon Glassd2fdaaf2011-10-03 19:26:47 +000017
Tom Rini6a5dccc2022-11-16 13:10:41 -050018#define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
Simon Glassd2fdaaf2011-10-03 19:26:47 +000019 115200}
Simon Glassd2fdaaf2011-10-03 19:26:47 +000020
Sean Anderson430e4aa2023-10-14 16:48:04 -040021/* Unused but necessary to build */
22#define CFG_SYS_UBOOT_BASE CONFIG_TEXT_BASE
23
Simon Glassd2fdaaf2011-10-03 19:26:47 +000024#endif