1286c3c3aSIan Campbell /* 2286c3c3aSIan Campbell * (C) Copyright 2007-2012 3286c3c3aSIan Campbell * Allwinner Technology Co., Ltd. <www.allwinnertech.com> 4286c3c3aSIan Campbell * Berg Xing <bergxing@allwinnertech.com> 5286c3c3aSIan Campbell * Tom Cubie <tangliang@allwinnertech.com> 6286c3c3aSIan Campbell * 7286c3c3aSIan Campbell * Sunxi platform dram register definition. 8286c3c3aSIan Campbell * 9286c3c3aSIan Campbell * SPDX-License-Identifier: GPL-2.0+ 10286c3c3aSIan Campbell */ 11286c3c3aSIan Campbell 12286c3c3aSIan Campbell #ifndef _SUNXI_DRAM_H 13286c3c3aSIan Campbell #define _SUNXI_DRAM_H 14286c3c3aSIan Campbell 15286c3c3aSIan Campbell #include <linux/types.h> 16286c3c3aSIan Campbell 17bec72c79SHans de Goede /* dram regs definition */ 18*9a07eb0bSHans de Goede #if defined(CONFIG_MACH_SUN6I) 19*9a07eb0bSHans de Goede #include <asm/arch/dram_sun6i.h> 20*9a07eb0bSHans de Goede #else 21bec72c79SHans de Goede #include <asm/arch/dram_sun4i.h> 22*9a07eb0bSHans de Goede #endif 23286c3c3aSIan Campbell 24286c3c3aSIan Campbell unsigned long sunxi_dram_init(void); 25286c3c3aSIan Campbell 26286c3c3aSIan Campbell #endif /* _SUNXI_DRAM_H */ 27