Merge tag 'dm-pull-22nov22' of https://source.denx.de/u-boot/custodians/u-boot-dm
[platform/kernel/u-boot.git] / include / configs / sandbox.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (c) 2011 The Chromium OS Authors.
4  */
5
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8
9 #define CONFIG_IO_TRACE
10
11 #define CONFIG_MALLOC_F_ADDR            0x0010000
12
13 /* Size of our emulated memory */
14 #define SB_CONCAT(x, y) x ## y
15 #define SB_TO_UL(s) SB_CONCAT(s, UL)
16 #define CONFIG_SYS_SDRAM_BASE           0
17 #define CONFIG_SYS_SDRAM_SIZE \
18                 (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20)
19
20 #define CONFIG_SYS_BAUDRATE_TABLE       {4800, 9600, 19200, 38400, 57600,\
21                                         115200}
22
23 #ifndef SANDBOX_NO_SDL
24 #define CONFIG_SANDBOX_SDL
25 #endif
26
27 #endif