mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
driver/ddr/fsl: Add DDR4 support to Freescale DDR driver
Mostly reusing DDR3 driver, this patch adds DDR4 SPD handling, register calculation and programming. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
parent
8d451a7129
commit
34e026f9b1
19 changed files with 2378 additions and 321 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2008-2011 Freescale Semiconductor, Inc.
|
||||
* Copyright 2008-2014 Freescale Semiconductor, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -9,6 +9,7 @@
|
|||
#ifndef FSL_DDR_MAIN_H
|
||||
#define FSL_DDR_MAIN_H
|
||||
|
||||
#include <fsl_ddrc_version.h>
|
||||
#include <fsl_ddr_sdram.h>
|
||||
#include <fsl_ddr_dimm_params.h>
|
||||
|
||||
|
@ -22,6 +23,10 @@
|
|||
#define ddr_out32(a, v) out_be32(a, v)
|
||||
#endif
|
||||
|
||||
#define _DDR_ADDR CONFIG_SYS_FSL_DDR_ADDR
|
||||
|
||||
u32 fsl_ddr_get_version(void);
|
||||
|
||||
#if defined(CONFIG_DDR_SPD) || defined(CONFIG_SPD_EEPROM)
|
||||
/*
|
||||
* Bind the main DDR setup driver's generic names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue