diff options
author | Peng Fan | 2018-01-10 13:20:37 +0800 |
---|---|---|
committer | Stefano Babic | 2018-02-04 12:00:58 +0100 |
commit | fcdbde7ce0cc970e493cd910ee715b2fe90c1d08 (patch) | |
tree | eb5da6720a290d13badbd6c1a2e4d45dd030ae80 /arch/arm/include/asm/arch-mx8m/sys_proto.h | |
parent | c1ef486327cf3b79f3989139cae490a740fc7fe9 (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-mx8m/sys_proto.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx8m/sys_proto.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx8m/sys_proto.h b/arch/arm/include/asm/arch-mx8m/sys_proto.h new file mode 100644 index 00000000000..8bf9ac6697f --- /dev/null +++ b/arch/arm/include/asm/arch-mx8m/sys_proto.h @@ -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 |