blob: 0dcb2ebc316d5a22a619531673a5a67aba130318 [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
Simon Glass125a27b2014-06-11 23:29:43 -06009#define CONFIG_IO_TRACE
Simon Glass125a27b2014-06-11 23:29:43 -060010
Simon Glassc757cb02014-07-10 22:23:32 -060011#define CONFIG_MALLOC_F_ADDR 0x0010000
Simon Glassd2fdaaf2011-10-03 19:26:47 +000012
Simon Glassd2fdaaf2011-10-03 19:26:47 +000013/* Size of our emulated memory */
Heinrich Schuchardtfff251e2020-06-07 18:47:35 +020014#define SB_CONCAT(x, y) x ## y
15#define SB_TO_UL(s) SB_CONCAT(s, UL)
Simon Glass62cf9122013-04-26 02:53:43 +000016#define CONFIG_SYS_SDRAM_BASE 0
Heinrich Schuchardtfff251e2020-06-07 18:47:35 +020017#define CONFIG_SYS_SDRAM_SIZE \
18 (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20)
Simon Glassd2fdaaf2011-10-03 19:26:47 +000019
Simon Glassd2fdaaf2011-10-03 19:26:47 +000020#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
21 115200}
Simon Glassd2fdaaf2011-10-03 19:26:47 +000022
Simon Glassdcc0bf42014-03-22 17:12:58 -060023#ifndef SANDBOX_NO_SDL
Simon Glass84640e82014-02-27 13:26:25 -070024#define CONFIG_SANDBOX_SDL
Simon Glassdcc0bf42014-03-22 17:12:58 -060025#endif
26
Simon Glassd2fdaaf2011-10-03 19:26:47 +000027#endif