u-boot/arch/arm/include/asm
Pavel Machek a832ddba55 arm: socfpga: clock: Add code to read clock configuration
Add the entire bulk of code to read out clock configuration from the SoCFPGA
CPU registers. This is important for MMC, QSPI and UART drivers as otherwise
they cannot determine the frequency of their upstream clock.

Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>

V2: Fixed the L4 MP clock divider and synced the clock code with latest
    rocketboards codebase (thanks Dinh for pointing this out)
2014-10-06 17:46:49 +02:00
..
arch-a320 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-am33xx Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2014-07-28 12:26:21 +02:00
arch-arm720t Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-armada100 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-armv7 Merge branch 'u-boot/master' into u-boot-arm/master 2013-07-25 17:57:46 +02:00
arch-at91 ARM: atmel: add pcr related definition 2014-09-19 00:11:19 +02:00
arch-bcm281xx arm: bcm281xx: Add Ethernet Clock support 2014-08-30 07:46:39 -04:00
arch-bcm2835 ARM: bcm2835: fix mbox POWER_STATE_RESP_ON value 2014-02-14 07:57:14 +01:00
arch-bcmcygnus arm: add Cygnus and NSP boards 2014-08-30 07:46:40 -04:00
arch-bcmnsp arm: add Cygnus and NSP boards 2014-08-30 07:46:40 -04:00
arch-davinci Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2014-07-01 15:11:18 +02:00
arch-ep93xx arm: ep9315: Return back Cirrus Logic EDB9315A board support 2014-07-04 23:45:48 +02:00
arch-exynos exynos5420: add callbacks needed for exynos_fb driver 2014-09-05 20:37:07 +09:00
arch-fsl-lsch3 armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page 2014-09-25 08:36:19 -07:00
arch-imx mx6: Add support for the mx6solox variant 2014-07-10 15:29:16 +02:00
arch-keystone ARM: keystone: ddr3: workaround for ddr3a/3b memory issue 2014-09-17 21:06:56 -04:00
arch-kirkwood arm: kirkwood: spi.h: Add some missing parenthesis 2014-09-24 17:47:16 +05:30
arch-ks8695 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-lpc32xx config: remove platform CONFIG_SYS_HZ definition part 2/2 2013-11-04 11:06:16 -05:00
arch-ls102xa board/ls1021aqds: Add DDR4 support 2014-09-25 09:12:12 -07:00
arch-mb86r0x sizes.h - consolidate for all architectures 2014-03-04 12:15:01 -05:00
arch-mx5 ARM: mx5: Fix CHSCCDR name 2014-08-20 12:19:20 +02:00
arch-mx6 pcie_imx: Add mx6solox support 2014-09-09 17:24:49 +02:00
arch-mx25 imx25: Add new hardware registers 2014-05-09 15:10:53 +02:00
arch-mx27 mx27: add missing constant for mx27 2013-09-10 19:12:55 +02:00
arch-mx31 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-mx35 spl: consolidate arch/arm/include/asm/arch-*/spl.h 2014-06-06 10:05:34 +02:00
arch-mxs ARM: mxs: Setup stack in JTAG mode 2013-10-17 09:44:20 +02:00
arch-nomadik Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-omap3 ARM: omap: clean redundant PISMO_xx macros used in OMAP3 2014-07-25 16:26:12 -04:00
arch-omap4 armv7:TI: Add <asm/ti-common/sys_proto.h> and migrate omap_hw_init_context 2014-05-23 19:40:05 -04:00
arch-omap5 board/ti/dra7xx: add support for parallel NOR 2014-08-25 10:48:12 -04:00
arch-orion5x Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-pantheon Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-pxa include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
arch-rmobile arm: rmobile: Add support R8A7794 2014-07-24 14:03:46 +09:00
arch-s3c24x0 mmc: s3c: Add SD driver 2014-08-01 19:24:34 +03:00
arch-s5pc1xx S5P: Exynos: Add GPIO pin numbering and rename definitions 2014-05-13 15:20:38 +09:00
arch-sa1100 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-socfpga arm: socfpga: clock: Add code to read clock configuration 2014-10-06 17:46:49 +02:00
arch-spear spear: move CONFIG_SYS_I2C_BASE from arch-spear/hardware to board configs 2014-02-20 06:49:02 +01:00
arch-sunxi sunxi: dram: Configurable DQS gating window mode and delay 2014-08-12 08:42:33 +02:00
arch-tegra tegra: Convert tegra GPIO driver to use driver model 2014-09-10 12:59:59 -06:00
arch-tegra20 tegra: kconfig: move board select menu and common settings 2014-08-30 21:19:32 -04:00
arch-tegra30 tegra: kconfig: move board select menu and common settings 2014-08-30 21:19:32 -04:00
arch-tegra114 tegra: kconfig: move board select menu and common settings 2014-08-30 21:19:32 -04:00
arch-tegra124 tegra: kconfig: move board select menu and common settings 2014-08-30 21:19:32 -04:00
arch-tnetv107x mtd: nand: davinci: add header file for driver definitions 2014-06-19 17:53:58 -04:00
arch-u8500 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
arch-vf610 arm: vf610: add NFC clock support 2014-08-30 07:46:40 -04:00
arch-zynq ARM: zynq: Remove spl.h 2014-08-19 08:48:18 +02:00
armv8 ARMv8: Adjust MMU setup 2014-07-03 08:40:48 +02:00
imx-common i2c: imx: add macros to setup pads for multiple SoC types 2014-09-09 15:32:32 +02:00
iproc-common arm: add Cygnus and NSP boards 2014-08-30 07:46:40 -04:00
kona-common arch: kona: Initial commit of kona-common architecture code 2014-02-22 19:30:18 +01:00
proc-armv ARM: add missing HYP mode constant 2014-07-28 17:06:35 +02:00
ti-common ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
armv7.h ARM: HYP/non-sec/PSCI: emit DT nodes 2014-07-28 17:19:52 +02:00
assembler.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
atomic.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
bitops.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
bootm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
byteorder.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
cache.h ARM: cache_v7: use __weak 2014-07-04 19:57:22 +02:00
config.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
davinci_rtc.h am33xx, davinci: Create and use <asm/davinci_rtc.h> 2013-11-01 15:30:22 -04:00
dma-mapping.h arm: dma_alloc_coherent: malloc() -> memalign() 2013-09-14 12:08:00 +02:00
ehci-omap.h usb: new board-specific USB init interface 2013-10-20 23:42:40 +02:00
emif.h emif.h: remove duplicated argument to | 2014-08-09 11:17:03 -04:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
gic.h arm64 patch: gicv3 support 2014-04-08 00:15:12 +02:00
global_data.h ARM: make gd a function for clang 2014-09-09 13:51:08 +02:00
gpio.h gpio: Replace ARM gpio.h with the common API in include/asm-generic 2012-01-09 20:10:32 -06:00
hardware.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
io.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
linkage.h arm: adapt asm/linkage.h from Linux 2012-05-15 08:31:26 +02:00
mach-types.h ARM: tegra: add Colibri T30 board support 2014-08-18 16:59:04 -07:00
macro.h armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page 2014-09-25 08:36:19 -07:00
memory.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
omap_boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
omap_common.h ARM: OMAP: Fix handling of errata i727 2014-07-25 16:26:11 -04:00
omap_gpio.h SPDX-License-Identifier: fixing some problematic GPL-2.0 files 2013-08-19 15:34:13 -04:00
omap_mmc.h omap_hsmmc: add driver check for write protection 2013-03-08 16:41:13 -05:00
omap_musb.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pl310.h mx6: Enable L2 cache support 2014-02-11 11:24:12 +01:00
posix_types.h armv8: Use __aarch64__ rather than CONFIG_ARM64 in some cases 2014-01-10 10:10:23 +01:00
processor.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
psci.h ARM: HYP/non-sec: add generic ARMv7 PSCI code 2014-07-28 17:19:18 +02:00
ptrace.h Remove ${objtree}/include/asm/proc/ link 2014-06-11 16:27:05 -04:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
secure.h ARM: HYP/non-sec: allow relocation to secure RAM 2014-07-28 17:19:09 +02:00
semihosting.h arm: Add support for semihosting for armv8 fastmodel targets. 2014-07-03 08:35:45 +02:00
setup.h arm bootm: Allow to pass board specified atags 2012-10-30 15:28:05 -07:00
spl.h ARM: zynq: Remove spl.h 2014-08-19 08:48:18 +02:00
string.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
system.h arm: cache: Add support for write-allocate D-Cache 2014-10-06 17:40:21 +02:00
types.h arm64: core support 2014-01-09 16:08:44 +01:00
u-boot-arm.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot.h bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
unaligned.h arm64: core support 2014-01-09 16:08:44 +01:00
utils.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00