diff options
author | Tom Rini <trini@ti.com> | 2014-11-11 16:59:44 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-11 16:59:44 -0500 |
commit | c88eaea0a0a809884388c3a5727d960bac0b0ced (patch) | |
tree | 931ee327363b8cd83c3867d972c33972527639d8 /arch/arm/include/asm | |
parent | 6841deb6209ee420b7bcb6e320a8a06fd57658df (diff) | |
parent | a877bec3ecd7961211a59b2c130e055e0f771976 (diff) | |
download | u-boot-imx-c88eaea0a0a809884388c3a5727d960bac0b0ced.zip u-boot-imx-c88eaea0a0a809884388c3a5727d960bac0b0ced.tar.gz u-boot-imx-c88eaea0a0a809884388c3a5727d960bac0b0ced.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-socfpga/gpio.h | 10 | ||||
-rw-r--r-- | arch/arm/include/asm/arch-socfpga/reset_manager.h | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-socfpga/gpio.h b/arch/arm/include/asm/arch-socfpga/gpio.h new file mode 100644 index 0000000..6c61f18 --- /dev/null +++ b/arch/arm/include/asm/arch-socfpga/gpio.h @@ -0,0 +1,10 @@ +/* + * Copyright (C) 2014 Stefan Roese <sr@denx.de> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _SOCFPGA_GPIO_H +#define _SOCFPGA_GPIO_H + +#endif /* _SOCFPGA_GPIO_H */ diff --git a/arch/arm/include/asm/arch-socfpga/reset_manager.h b/arch/arm/include/asm/arch-socfpga/reset_manager.h index 1857b80..034135b 100644 --- a/arch/arm/include/asm/arch-socfpga/reset_manager.h +++ b/arch/arm/include/asm/arch-socfpga/reset_manager.h @@ -14,6 +14,7 @@ void socfpga_bridges_reset(int enable); void socfpga_emac_reset(int enable); void socfpga_watchdog_reset(void); +void socfpga_spim_enable(void); struct socfpga_reset_manager { u32 status; @@ -35,5 +36,7 @@ struct socfpga_reset_manager { #define RSTMGR_PERMODRST_EMAC0_LSB 0 #define RSTMGR_PERMODRST_EMAC1_LSB 1 #define RSTMGR_PERMODRST_L4WD0_LSB 6 +#define RSTMGR_PERMODRST_SPIM0_LSB 18 +#define RSTMGR_PERMODRST_SPIM1_LSB 19 #endif /* _RESET_MANAGER_H_ */ |