Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Marek Vasut | ae91756 | 2015-04-21 12:30:09 +0200 | [diff] [blame] | 2 | /* |
Dinh Nguyen | 429642c | 2015-06-02 22:52:48 -0500 | [diff] [blame] | 3 | * Copyright Altera Corporation (C) 2014-2015 |
Marek Vasut | ae91756 | 2015-04-21 12:30:09 +0200 | [diff] [blame] | 4 | */ |
Dinh Nguyen | 429642c | 2015-06-02 22:52:48 -0500 | [diff] [blame] | 5 | #ifndef _SDRAM_H_ |
| 6 | #define _SDRAM_H_ |
| 7 | |
| 8 | #ifndef __ASSEMBLY__ |
| 9 | |
Tien Fong Chee | 38fad17 | 2017-12-05 15:58:00 +0800 | [diff] [blame] | 10 | #if defined(CONFIG_TARGET_SOCFPGA_GEN5) |
| 11 | #include <asm/arch/sdram_gen5.h> |
Tien Fong Chee | 402735b | 2017-12-05 15:58:02 +0800 | [diff] [blame] | 12 | #elif defined(CONFIG_TARGET_SOCFPGA_ARRIA10) |
| 13 | #include <asm/arch/sdram_arria10.h> |
Tien Fong Chee | 38fad17 | 2017-12-05 15:58:00 +0800 | [diff] [blame] | 14 | #endif |
Marek Vasut | ae91756 | 2015-04-21 12:30:09 +0200 | [diff] [blame] | 15 | |
Dinh Nguyen | 429642c | 2015-06-02 22:52:48 -0500 | [diff] [blame] | 16 | #endif |
| 17 | #endif /* _SDRAM_H_ */ |