uboot/arch/arm/mach-imx/imx8ulp/lowlevel_init.S
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0+ */
   2/*
   3 * Copyright 2020 NXP
   4 */
   5
   6#include <config.h>
   7
   8.align 8
   9.global rom_pointer
  10rom_pointer:
  11        .space 256
  12
  13/*
  14 * Routine: save_boot_params (called after reset from start.S)
  15 */
  16
  17.global save_boot_params
  18save_boot_params:
  19#ifndef CONFIG_SPL_BUILD
  20        /* The firmware provided ATAG/FDT address can be found in r2/x0 */
  21        adr     x0, rom_pointer
  22        stp     x1, x2, [x0], #16
  23        stp     x3, x4, [x0], #16
  24#endif
  25        /* Returns */
  26        b       save_boot_params_ret
  27