Skip to content
Snippets Groups Projects
Commit 14e4b149 authored by maxims@google.com's avatar maxims@google.com Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 4697abea
No related branches found
No related tags found
Loading
Showing with 1273 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment