sandbox.h 834 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2011 The Chromium OS Authors.
  4. */
  5. #ifndef __CONFIG_H
  6. #define __CONFIG_H
  7. #ifndef CONFIG_SPL_BUILD
  8. #define CONFIG_IO_TRACE
  9. #endif
  10. #define CONFIG_MALLOC_F_ADDR 0x0010000
  11. #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
  12. /* Size of our emulated memory */
  13. #define SB_CONCAT(x, y) x ## y
  14. #define SB_TO_UL(s) SB_CONCAT(s, UL)
  15. #define CONFIG_SYS_SDRAM_BASE 0
  16. #define CONFIG_SYS_SDRAM_SIZE \
  17. (SB_TO_UL(CONFIG_SANDBOX_RAM_SIZE_MB) << 20)
  18. #define CONFIG_SYS_MONITOR_BASE 0
  19. #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
  20. 115200}
  21. #ifndef SANDBOX_NO_SDL
  22. #define CONFIG_SANDBOX_SDL
  23. #endif
  24. #define CONFIG_SCSI_AHCI_PLAT
  25. #define CONFIG_SYS_SCSI_MAX_SCSI_ID 8
  26. #define CONFIG_SYS_SCSI_MAX_LUN 4
  27. #define CONFIG_SYS_SATA_MAX_DEVICE 2
  28. #endif