]> git.baikalelectronics.ru Git - uboot.git/commit
aspeed: Add basic ast2500-specific drivers and configuration
authormaxims@google.com <maxims@google.com>
Wed, 18 Jan 2017 21:44:56 +0000 (13:44 -0800)
committerTom Rini <trini@konsulko.com>
Sat, 28 Jan 2017 19:04:29 +0000 (14:04 -0500)
commit7b66ac02dc94303ebfd7cf66743b19fc6b4b9984
tree5c61ddc9845099e27f168b628d5b9833ceee4ce1
parent9cac32c9214a6d639d3d15d5d0f72859b5fcff23
aspeed: Add basic ast2500-specific drivers and configuration

Clock Driver

This driver is ast2500-specific and is not compatible with earlier
versions of this chip. The differences are not that big, but they are
in somewhat random places, so making it compatible with ast2400 is not
worth the effort at the moment.

SDRAM MC driver

The driver is very ast2500-specific and is completely incompatible
with previous versions of the chip.

The memory controller is very poorly documented by Aspeed in the
datasheet, with any mention of the whole range of registers missing. The
initialization procedure has been basically taken from Aspeed SDK, where
it is implemented in assembly. Here it is rewritten in C, with very limited
understanding of what exactly it is doing.
Reviewed-by: Simon Glass <sjg@chromium.org>
14 files changed:
arch/arm/dts/ast2500-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/ast2500.dtsi [new file with mode: 0644]
arch/arm/include/asm/arch-aspeed/scu_ast2500.h [new file with mode: 0644]
arch/arm/include/asm/arch-aspeed/sdram_ast2500.h [new file with mode: 0644]
arch/arm/mach-aspeed/Kconfig
arch/arm/mach-aspeed/Makefile
arch/arm/mach-aspeed/ast2500/Kconfig [new file with mode: 0644]
arch/arm/mach-aspeed/ast2500/Makefile [new file with mode: 0644]
arch/arm/mach-aspeed/ast2500/clk_ast2500.c [new file with mode: 0644]
arch/arm/mach-aspeed/ast2500/sdram_ast2500.c [new file with mode: 0644]
drivers/clk/Makefile
drivers/clk/aspeed/Makefile [new file with mode: 0644]
drivers/clk/aspeed/clk_ast2500.c [new file with mode: 0644]
include/dt-bindings/clock/ast2500-scu.h [new file with mode: 0644]