diff options
author | Michal Simek <monstr@monstr.eu> | 2014-04-25 12:21:04 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-05-14 07:43:35 +0200 |
commit | 3cc3fa8672705e609ccd25348438453bd8de07fd (patch) | |
tree | 6202a43599c712105d27f75c0131bc0165e477fd /arch/arm/include/asm/arch-zynq | |
parent | 3d456eec43c13778738a5b5246a4109282d207a3 (diff) | |
download | u-boot-imx-3cc3fa8672705e609ccd25348438453bd8de07fd.zip u-boot-imx-3cc3fa8672705e609ccd25348438453bd8de07fd.tar.gz u-boot-imx-3cc3fa8672705e609ccd25348438453bd8de07fd.tar.bz2 |
ARM: zynq: Add MIO detection code
Add run-time MIO pin detection to get actual
pin configuration for specific periphery.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/include/asm/arch-zynq')
-rw-r--r-- | arch/arm/include/asm/arch-zynq/sys_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynq/sys_proto.h b/arch/arm/include/asm/arch-zynq/sys_proto.h index 2445a04..53c30ec 100644 --- a/arch/arm/include/asm/arch-zynq/sys_proto.h +++ b/arch/arm/include/asm/arch-zynq/sys_proto.h @@ -15,6 +15,7 @@ extern void zynq_slcr_devcfg_disable(void); extern void zynq_slcr_devcfg_enable(void); extern u32 zynq_slcr_get_boot_mode(void); extern u32 zynq_slcr_get_idcode(void); +extern int zynq_slcr_get_mio_pin_status(const char *periph); extern void zynq_ddrc_init(void); extern unsigned int zynq_get_silicon_version(void); |