1 /* 2 * (C) Copyright 2007-2012 3 * Allwinner Technology Co., Ltd. <www.allwinnertech.com> 4 * Berg Xing <bergxing@allwinnertech.com> 5 * Tom Cubie <tangliang@allwinnertech.com> 6 * 7 * Sunxi platform dram register definition. 8 * 9 * SPDX-License-Identifier: GPL-2.0+ 10 */ 11 12 #ifndef _SUNXI_DRAM_H 13 #define _SUNXI_DRAM_H 14 15 #include <linux/types.h> 16 17 /* dram regs definition */ 18 #if defined(CONFIG_MACH_SUN6I) 19 #include <asm/arch/dram_sun6i.h> 20 #else 21 #include <asm/arch/dram_sun4i.h> 22 #endif 23 24 unsigned long sunxi_dram_init(void); 25 26 #endif /* _SUNXI_DRAM_H */ 27