Initial commit
This commit is contained in:
commit
169c65d57e
51358 changed files with 23120455 additions and 0 deletions
38
arch/arm/mach-sunxi/include/mach/sun8i/memory-sun8iw6p1.h
Normal file
38
arch/arm/mach-sunxi/include/mach/sun8i/memory-sun8iw6p1.h
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* arch/arm/mach-sunxi/include/mach/sun8i/memory-sun8iw5p1.h
|
||||
*
|
||||
* Copyright(c) 2013-2015 Allwinnertech Co., Ltd.
|
||||
* http://www.allwinnertech.com
|
||||
*
|
||||
* Author: liugang <liugang@allwinnertech.com>
|
||||
*
|
||||
* sun8i memory header file
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*/
|
||||
|
||||
#ifndef __MEMORY_SUN8I_W6P1_H
|
||||
#define __MEMORY_SUN8I_W6P1_H
|
||||
|
||||
#define PLAT_PHYS_OFFSET UL(0x40000000)
|
||||
#ifdef CONFIG_EVB_PLATFORM
|
||||
#define PLAT_MEM_SIZE SZ_2G
|
||||
#else
|
||||
#define PLAT_MEM_SIZE SZ_256M
|
||||
#endif
|
||||
|
||||
#define SYS_CONFIG_MEMBASE (PLAT_PHYS_OFFSET + SZ_32M + SZ_16M) /* 0x43000000 */
|
||||
#define SYS_CONFIG_MEMSIZE (SZ_64K) /* 0x00010000 */
|
||||
|
||||
#define SUPER_STANDBY_MEM_BASE (SYS_CONFIG_MEMBASE + SYS_CONFIG_MEMSIZE) /* 0x43010000 */
|
||||
#define SUPER_STANDBY_MEM_SIZE (SZ_2K) /* 0x00000800 */
|
||||
|
||||
#if defined(CONFIG_ION) || defined(CONFIG_ION_MODULE)
|
||||
#define ION_CARVEOUT_MEM_BASE (0x43100000) /* 0x43100000 */
|
||||
#define ION_CARVEOUT_MEM_SIZE (CONFIG_ION_SUNXI_CARVEOUT_SIZE * SZ_1M)
|
||||
#endif
|
||||
|
||||
#endif /* __MEMORY_SUN8I_W6P1_H */
|
Loading…
Add table
Add a link
Reference in a new issue