This patch slightly revises the way the dynamic SDRAM parameter tables are stored in the source tree for nyan and nyan_big. The parameter files are named sdram-<vendor>-<size>-<freq>.inc (moving frequency last so that files that belong to the same board/ram_code will be together in directory listings). There is also an sdram-unused.inc file that contains an empty "dummy" configuration for unused ram_codes. The inclusion list in sdram_configs.c is annotated with comments to avoid confusion about which line corresponds to which ram_code. Also added another check for MemoryType to sdram_init(), just to be sure. BUG=None TEST=Built and booted Nyan and Nyan_Big successfully. Change-Id: If1406b8d36a37283701c5c272137b34f4324636f Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/185286 Reviewed-by: David Hendricks <dhendrix@chromium.org> |
||
|---|---|---|
| .. | ||
| arch | ||
| console | ||
| cpu | ||
| device | ||
| drivers | ||
| ec | ||
| include | ||
| lib | ||
| mainboard | ||
| northbridge | ||
| soc | ||
| southbridge | ||
| superio | ||
| vendorcode | ||
| Kconfig | ||