Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2011 The Chromium OS Authors. |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_H |
| 7 | #define __CONFIG_H |
| 8 | |
Tom Rini | fb52b94 | 2022-12-04 10:04:49 -0500 | [diff] [blame] | 9 | #define CFG_MALLOC_F_ADDR 0x0010000 |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 10 | |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 11 | /* Size of our emulated memory */ |
Heinrich Schuchardt | fff251e | 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 | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 14 | #define CFG_SYS_SDRAM_BASE 0 |
| 15 | #define CFG_SYS_SDRAM_SIZE \ |
Heinrich Schuchardt | fff251e | 2020-06-07 18:47:35 +0200 | [diff] [blame] | 16 | (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20) |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 17 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 18 | #define CFG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 19 | 115200} |
Simon Glass | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 20 | |
Sean Anderson | 430e4aa | 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 | d2fdaaf | 2011-10-03 19:26:47 +0000 | [diff] [blame] | 24 | #endif |