blob: 79cb9e6064a2d7968447854385c420a6cc0dc697 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutae917562015-04-21 12:30:09 +02002/*
Dinh Nguyen429642c2015-06-02 22:52:48 -05003 * Copyright Altera Corporation (C) 2014-2015
Marek Vasutae917562015-04-21 12:30:09 +02004 */
Dinh Nguyen429642c2015-06-02 22:52:48 -05005#ifndef _SDRAM_H_
6#define _SDRAM_H_
7
8#ifndef __ASSEMBLY__
9
Tien Fong Chee38fad172017-12-05 15:58:00 +080010#if defined(CONFIG_TARGET_SOCFPGA_GEN5)
11#include <asm/arch/sdram_gen5.h>
Tien Fong Chee402735b2017-12-05 15:58:02 +080012#elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10)
13#include <asm/arch/sdram_arria10.h>
Tien Fong Chee38fad172017-12-05 15:58:00 +080014#endif
Marek Vasutae917562015-04-21 12:30:09 +020015
Dinh Nguyen429642c2015-06-02 22:52:48 -050016#endif
17#endif /* _SDRAM_H_ */