mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
imx: mx8m: add soc related settings and files
Add SoC level initialization code - arch_cpu_init - mmu table - detect cpu revision - reset cpu and wdog settings - timer init - wdog settings - lowlevel init to save/restore registers - a few dummy header file to avoid build failure - ft_system_setup Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com>
This commit is contained in:
10
arch/arm/include/asm/arch-mx8m/crm_regs.h
Normal file
10
arch/arm/include/asm/arch-mx8m/crm_regs.h
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Copyright 2017 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef _ASM_ARCH_MX8M_CRM_REGS_H
|
||||
#define _ASM_ARCH_MX8M_CRM_REGS_H
|
||||
/* Dummy header, some imx-common code needs this file */
|
||||
#endif
|
||||
12
arch/arm/include/asm/arch-mx8m/gpio.h
Normal file
12
arch/arm/include/asm/arch-mx8m/gpio.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* Copyright 2017 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __ASM_ARCH_MX8M_GPIO_H
|
||||
#define __ASM_ARCH_MX8M_GPIO_H
|
||||
|
||||
#include <asm/mach-imx/gpio.h>
|
||||
|
||||
#endif
|
||||
18
arch/arm/include/asm/arch-mx8m/sys_proto.h
Normal file
18
arch/arm/include/asm/arch-mx8m/sys_proto.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (C) 2017 NXP
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_MX8M_SYS_PROTO_H
|
||||
#define __ARCH_MX8M_SYS_PROTO_H
|
||||
|
||||
#include <asm/mach-imx/sys_proto.h>
|
||||
|
||||
void set_wdog_reset(struct wdog_regs *wdog);
|
||||
void enable_tzc380(void);
|
||||
void restore_boot_params(void);
|
||||
extern unsigned long rom_pointer[];
|
||||
enum boot_device get_boot_device(void);
|
||||
bool is_usb_boot(void);
|
||||
#endif
|
||||
Reference in New Issue
Block a user