2018-05-06 17:58:06 -04:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2015-04-21 12:30:09 +02:00
|
|
|
/*
|
2015-06-02 22:52:48 -05:00
|
|
|
* Copyright Altera Corporation (C) 2014-2015
|
2015-04-21 12:30:09 +02:00
|
|
|
*/
|
2015-06-02 22:52:48 -05:00
|
|
|
#ifndef _SDRAM_H_
|
|
|
|
#define _SDRAM_H_
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
2017-12-05 15:58:00 +08:00
|
|
|
#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
|
|
|
|
#include <asm/arch/sdram_gen5.h>
|
2017-12-05 15:58:02 +08:00
|
|
|
#elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
|
|
|
|
#include <asm/arch/sdram_arria10.h>
|
2017-12-05 15:58:00 +08:00
|
|
|
#endif
|
2015-04-21 12:30:09 +02:00
|
|
|
|
2015-06-02 22:52:48 -05:00
|
|
|
#endif
|
|
|
|
#endif /* _SDRAM_H_ */
|