mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 16:07:30 +00:00
29 lines
510 B
C
29 lines
510 B
C
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
/*
|
||
|
* AM642: SoC specific initialization
|
||
|
*
|
||
|
* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
|
||
|
* Keerthy <j-keerthy@ti.com>
|
||
|
* Dave Gerlach <d-gerlach@ti.com>
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <spl.h>
|
||
|
#include <asm/io.h>
|
||
|
#include "common.h"
|
||
|
|
||
|
#if defined(CONFIG_SPL_BUILD)
|
||
|
|
||
|
void board_init_f(ulong dummy)
|
||
|
{
|
||
|
#if defined(CONFIG_CPU_V7R)
|
||
|
setup_k3_mpu_regions();
|
||
|
#endif
|
||
|
|
||
|
/* Init DM early */
|
||
|
spl_early_init();
|
||
|
|
||
|
preloader_console_init();
|
||
|
}
|
||
|
#endif
|