stm32mp1.c 460 B

1234567891011121314151617181920212223242526
  1. // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
  2. /*
  3. * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
  4. */
  5. #include <config.h>
  6. #include <common.h>
  7. #include <asm/arch/stm32.h>
  8. /*
  9. * Get a global data pointer
  10. */
  11. DECLARE_GLOBAL_DATA_PTR;
  12. int board_late_init(void)
  13. {
  14. return 0;
  15. }
  16. /* board dependent setup after realloc */
  17. int board_init(void)
  18. {
  19. /* address of boot parameters */
  20. gd->bd->bi_boot_params = STM32_DDR_BASE + 0x100;
  21. return 0;
  22. }