projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configs: Migrate CONFIG_FMAN_ENET and some related options to Kconfig
[platform/kernel/u-boot.git]
/
include
/
fsl_ddr.h
diff --git
a/include/fsl_ddr.h
b/include/fsl_ddr.h
index
9aaf6b3
..
2476f40
100644
(file)
--- a/
include/fsl_ddr.h
+++ b/
include/fsl_ddr.h
@@
-1,9
+1,6
@@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright 2008-2014 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
- * Version 2 as published by the Free Software Foundation.
*/
#ifndef FSL_DDR_MAIN_H
*/
#ifndef FSL_DDR_MAIN_H
@@
-17,7
+14,7
@@
#ifndef CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS
/* All controllers are for main memory */
#ifndef CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS
/* All controllers are for main memory */
-#define CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS CONFIG_
NUM_DDR_CONTROLLE
RS
+#define CONFIG_SYS_FSL_DDR_MAIN_NUM_CTRLS CONFIG_
SYS_NUM_DDR_CTL
RS
#endif
#ifdef CONFIG_SYS_FSL_DDR_LE
#endif
#ifdef CONFIG_SYS_FSL_DDR_LE
@@
-56,7
+53,6
@@
compute_dimm_parameters(const unsigned int ctrl_num,
*
* All data structures have to be on the stack
*/
*
* All data structures have to be on the stack
*/
-#define CONFIG_SYS_NUM_DDR_CTLRS CONFIG_NUM_DDR_CONTROLLERS
#define CONFIG_SYS_DIMM_SLOTS_PER_CTLR CONFIG_DIMM_SLOTS_PER_CTLR
typedef struct {
#define CONFIG_SYS_DIMM_SLOTS_PER_CTLR CONFIG_DIMM_SLOTS_PER_CTLR
typedef struct {
@@
-140,4
+136,6
@@
int fsl_ddr_get_dimm_params(dimm_params_t *pdimm,
void update_spd_address(unsigned int ctrl_num,
unsigned int slot,
unsigned int *addr);
void update_spd_address(unsigned int ctrl_num,
unsigned int slot,
unsigned int *addr);
+
+void erratum_a009942_check_cpo(void);
#endif
#endif