dfi-bt700.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2016 Stefan Roese <sr@denx.de>
  4. */
  5. /*
  6. * board/config.h - configuration options, board specific
  7. */
  8. #ifndef __CONFIG_H
  9. #define __CONFIG_H
  10. #include <configs/x86-common.h>
  11. #define CONFIG_SYS_MONITOR_LEN (1 << 20)
  12. #ifndef CONFIG_INTERNAL_UART
  13. /* Use BayTrail internal HS UART which is memory-mapped */
  14. #undef CONFIG_SYS_NS16550_PORT_MAPPED
  15. #endif
  16. #define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
  17. "stdout=serial\0" \
  18. "stderr=serial\0"
  19. #define VIDEO_IO_OFFSET 0
  20. #define CONFIG_X86EMU_RAW_IO
  21. #undef CONFIG_BOOTCOMMAND
  22. #define CONFIG_BOOTCOMMAND \
  23. "load scsi 0:1 03000000 /boot/vmlinuz-${kernel-ver}-generic;" \
  24. "load scsi 0:1 04000000 /boot/initrd.img-${kernel-ver}-generic;" \
  25. "run boot"
  26. #undef CONFIG_EXTRA_ENV_SETTINGS
  27. #define CONFIG_EXTRA_ENV_SETTINGS \
  28. "kernel-ver=4.4.0-24\0" \
  29. "boot=zboot 03000000 0 04000000 ${filesize}\0" \
  30. "upd_uboot=usb reset;tftp 100000 dfi/u-boot.rom;" \
  31. "sf probe;sf update 100000 0 800000;saveenv\0"
  32. #endif /* __CONFIG_H */