allwinner_a64/lichee/brandy/u-boot-2014.07/include/sunxi_cfg.h
2018-08-08 14:16:19 +08:00

21 lines
No EOL
531 B
C
Executable file

#ifndef __SUNXI_CFG_H__
#define __SUNXI_CFG_H__
#include <config.h>
//dtb addr
#define CONFIG_DTB_STORE_IN_DRAM_BASE (CONFIG_SYS_TEXT_BASE + 2*1024*1024)
//soccfg addr
#define CONFIG_SOCCFG_STORE_IN_DRAM_BASE (CONFIG_DTB_STORE_IN_DRAM_BASE + 1*1024*1024)
//doardcfg addr
#define CONFIG_BDCFG_STORE_IN_DRAM_BASE (CONFIG_SOCCFG_STORE_IN_DRAM_BASE +512*1024)
#ifdef USE_BOARD_CONFIG
#define BD_SCRIPT 0
#define SOC_SCRIPT 1
#else
#define BD_SCRIPT 1
#define SOC_SCRIPT 0
#endif
#endif /*__SUNXI_CFG_H__*/