mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 17:38:51 +09:00
![York Sun](/assets/img/avatar_default.png)
Enable sync of DDR refresh for LS2085a platform. GPP DDR controllers stay in sync. DP-DDR has only one controller so it does no harm. Signed-off-by: York Sun <yorksun@freescale.com>
25 lines
601 B
C
25 lines
601 B
C
/*
|
|
* Copyright 2014 Freescale Semiconductor
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __LS2_EMU_H
|
|
#define __LS2_EMU_H
|
|
|
|
#include "ls2085a_common.h"
|
|
|
|
#define CONFIG_IDENT_STRING " LS2085A-EMU"
|
|
#define CONFIG_BOOTP_VCI_STRING "U-boot.LS2085A-EMU"
|
|
|
|
#define CONFIG_DDR_SPD
|
|
#define CONFIG_SYS_FSL_DDR_EMU /* Support emulator */
|
|
#define SPD_EEPROM_ADDRESS1 0x51
|
|
#define SPD_EEPROM_ADDRESS2 0x52
|
|
#define SPD_EEPROM_ADDRESS3 0x53
|
|
#define SPD_EEPROM_ADDRESS SPD_EEPROM_ADDRESS1
|
|
#define CONFIG_SYS_SPD_BUS_NUM 1 /* SPD on I2C bus 1 */
|
|
|
|
#define CONFIG_FSL_DDR_SYNC_REFRESH
|
|
#endif /* __LS2_EMU_H */
|