X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Ffsl_ddr.h;h=5c49b229dafe19b14fe5866187b826385534b549;hb=dbb7234b2a5e7d2cdb6658156de8d2d5b54033d7;hp=72c0b2e94edc7011280481ea44ac4929bdec4387;hpb=4e5b1bd0dff216b00d7ce9a5201dfe173805a06c;p=u-boot diff --git a/include/fsl_ddr.h b/include/fsl_ddr.h index 72c0b2e94e..5c49b229da 100644 --- a/include/fsl_ddr.h +++ b/include/fsl_ddr.h @@ -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 #include #include @@ -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