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