stemmy.h 926 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2019 Stephan Gerhold <stephan@gerhold.net>
  4. */
  5. #ifndef __CONFIGS_STEMMY_H
  6. #define __CONFIGS_STEMMY_H
  7. #include <linux/sizes.h>
  8. /*
  9. * The "stemmy" U-Boot port is designed to be chainloaded by the Samsung
  10. * bootloader on devices based on ST-Ericsson Ux500. Therefore, we skip most
  11. * low-level initialization and rely on configuration provided by the Samsung
  12. * bootloader. New images are loaded at the same address for compatibility.
  13. */
  14. #define CONFIG_SKIP_LOWLEVEL_INIT
  15. #define CONFIG_SYS_INIT_SP_ADDR CONFIG_SYS_TEXT_BASE
  16. #define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE
  17. #define CONFIG_SYS_MALLOC_LEN SZ_2M
  18. /* FIXME: This should be loaded from device tree... */
  19. #define CONFIG_SYS_L2_PL310
  20. #define CONFIG_SYS_PL310_BASE 0xa0412000
  21. /* Generate initrd atag for downstream kernel (others are copied in stemmy.c) */
  22. #define CONFIG_INITRD_TAG
  23. #endif