Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2011 The Chromium OS Authors. |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_H |
| 7 | #define __CONFIG_H |
| 8 | |
Tom Rini | dd5b58c | 2022-12-04 10:04:49 -0500 | [diff] [blame] | 9 | #define CFG_MALLOC_F_ADDR 0x0010000 |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 10 | |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 11 | /* Size of our emulated memory */ |
Heinrich Schuchardt | e85497a | 2020-06-07 18:47:35 +0200 | [diff] [blame] | 12 | #define SB_CONCAT(x, y) x ## y |
| 13 | #define SB_TO_UL(s) SB_CONCAT(s, UL) |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 14 | #define CFG_SYS_SDRAM_BASE 0 |
| 15 | #define CFG_SYS_SDRAM_SIZE \ |
Heinrich Schuchardt | e85497a | 2020-06-07 18:47:35 +0200 | [diff] [blame] | 16 | (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20) |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 17 | |
Tom Rini | 65cc0e2 | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 18 | #define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 19 | 115200} |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 20 | |
Sean Anderson | 65efaac | 2023-10-14 16:48:04 -0400 | [diff] [blame] | 21 | /* Unused but necessary to build */ |
| 22 | #define CFG_SYS_UBOOT_BASE CONFIG_TEXT_BASE |
| 23 | |
Simon Glass | c861fbf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 24 | #endif |