xref: /rk3399_rockchip-uboot/include/configs/km/km_arm.h (revision 6ef2f90108e2cf101d931c71ea7904f2b6301641)
1264eaa0eSValentin Longchamp /*
2264eaa0eSValentin Longchamp  * (C) Copyright 2009
3264eaa0eSValentin Longchamp  * Marvell Semiconductor <www.marvell.com>
4264eaa0eSValentin Longchamp  * Prafulla Wadaskar <prafulla@marvell.com>
5264eaa0eSValentin Longchamp  *
6264eaa0eSValentin Longchamp  * (C) Copyright 2009
7264eaa0eSValentin Longchamp  * Stefan Roese, DENX Software Engineering, sr@denx.de.
8264eaa0eSValentin Longchamp  *
9264eaa0eSValentin Longchamp  * (C) Copyright 2010-2011
10264eaa0eSValentin Longchamp  * Heiko Schocher, DENX Software Engineering, hs@denx.de.
11264eaa0eSValentin Longchamp  *
121a459660SWolfgang Denk  * SPDX-License-Identifier:	GPL-2.0+
13264eaa0eSValentin Longchamp  */
14264eaa0eSValentin Longchamp 
15264eaa0eSValentin Longchamp /*
16264eaa0eSValentin Longchamp  * for linking errors see
17264eaa0eSValentin Longchamp  * http://lists.denx.de/pipermail/u-boot/2009-July/057350.html
18264eaa0eSValentin Longchamp  */
19264eaa0eSValentin Longchamp 
20264eaa0eSValentin Longchamp #ifndef _CONFIG_KM_ARM_H
21264eaa0eSValentin Longchamp #define _CONFIG_KM_ARM_H
22264eaa0eSValentin Longchamp 
23264eaa0eSValentin Longchamp /*
24264eaa0eSValentin Longchamp  * High Level Configuration Options (easy to change)
25264eaa0eSValentin Longchamp  */
26264eaa0eSValentin Longchamp #define CONFIG_MARVELL
27264eaa0eSValentin Longchamp #define CONFIG_FEROCEON_88FR131		/* CPU Core subversion */
28264eaa0eSValentin Longchamp #define CONFIG_KW88F6281		/* SOC Name */
29264eaa0eSValentin Longchamp #define CONFIG_MACH_KM_KIRKWOOD		/* Machine type */
30264eaa0eSValentin Longchamp 
318620ca2aSValentin Longchamp #define CONFIG_MACH_TYPE	MACH_TYPE_KM_KIRKWOOD
328620ca2aSValentin Longchamp 
33dfeafde4SHolger Brunck #define CONFIG_NAND_ECC_BCH
34dfeafde4SHolger Brunck 
35264eaa0eSValentin Longchamp /* include common defines/options for all Keymile boards */
36264eaa0eSValentin Longchamp #include "keymile-common.h"
37264eaa0eSValentin Longchamp 
38f46b4a1aSValentin Longchamp /* SPI NOR Flash default params, used by sf commands */
39f46b4a1aSValentin Longchamp #define CONFIG_SF_DEFAULT_SPEED		8100000
40f46b4a1aSValentin Longchamp #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_3
41f46b4a1aSValentin Longchamp 
428170aefcSHolger Brunck #if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
438170aefcSHolger Brunck #define CONFIG_ENV_SPI_BUS		0
448170aefcSHolger Brunck #define CONFIG_ENV_SPI_CS		0
4505c8e81fSValentin Longchamp #define CONFIG_ENV_SPI_MAX_HZ		8100000
468170aefcSHolger Brunck #define CONFIG_ENV_SPI_MODE		SPI_MODE_3
478170aefcSHolger Brunck #endif
488170aefcSHolger Brunck 
49ac5b00e0SValentin Longchamp /* Reserve 4 MB for malloc */
50ac5b00e0SValentin Longchamp #define CONFIG_SYS_MALLOC_LEN		(4 * 1024 * 1024)
51ac5b00e0SValentin Longchamp 
52b5befd82SHolger Brunck #include "asm/arch/config.h"
53b5befd82SHolger Brunck 
54e5847b77SValentin Longchamp #define CONFIG_SYS_TEXT_BASE	0x07d00000	/* code address before reloc */
55264eaa0eSValentin Longchamp #define CONFIG_SYS_MEMTEST_START 0x00400000	/* 4M */
56264eaa0eSValentin Longchamp #define CONFIG_SYS_MEMTEST_END	0x007fffff	/*(_8M -1) */
57264eaa0eSValentin Longchamp #define CONFIG_SYS_LOAD_ADDR	0x00800000	/* default load adr- 8M */
58264eaa0eSValentin Longchamp 
59264eaa0eSValentin Longchamp /* pseudo-non volatile RAM [hex] */
60264eaa0eSValentin Longchamp #define CONFIG_KM_PNVRAM	0x80000
61264eaa0eSValentin Longchamp /* physical RAM MTD size [hex] */
62264eaa0eSValentin Longchamp #define CONFIG_KM_PHRAM		0x17F000
63264eaa0eSValentin Longchamp 
64264eaa0eSValentin Longchamp #define CONFIG_KM_CRAMFS_ADDR	0x2400000
657b2268b8SGerlando Falauto #define CONFIG_KM_KERNEL_ADDR	0x2000000	/* 3098KBytes */
667b2268b8SGerlando Falauto #define CONFIG_KM_FDT_ADDR	0x23E0000	/*  128KBytes */
67264eaa0eSValentin Longchamp 
68db0bb572SHolger Brunck /* architecture specific default bootargs */
69db0bb572SHolger Brunck #define CONFIG_KM_DEF_BOOT_ARGS_CPU					\
7066072a8cSHolger Brunck 		"bootcountaddr=${bootcountaddr} ${mtdparts}"		\
7166072a8cSHolger Brunck 		" boardid=0x${IVM_BoardId} hwkey=0x${IVM_HWKey}"
72db0bb572SHolger Brunck 
73264eaa0eSValentin Longchamp #define CONFIG_KM_DEF_ENV_CPU						\
7493ea89f0SMarek Vasut 	"u-boot="__stringify(CONFIG_HOSTNAME) "/u-boot.kwb\0"		\
75af85f085SHolger Brunck 	CONFIG_KM_UPDATE_UBOOT						\
76b1c2a7aeSGerlando Falauto 	"set_fdthigh=setenv fdt_high ${kernelmem}\0"			\
77c6d32dfdSValentin Longchamp 	"checkfdt="							\
78c6d32dfdSValentin Longchamp 		"if cramfsls fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb; "	\
79c6d32dfdSValentin Longchamp 		"then true; else setenv cramfsloadfdt true; "		\
80c6d32dfdSValentin Longchamp 		"setenv boot bootm ${load_addr_r}; "			\
81c6d32dfdSValentin Longchamp 		"echo No FDT found, booting with the kernel "		\
82c6d32dfdSValentin Longchamp 		"appended one; fi\0"					\
83264eaa0eSValentin Longchamp 	""
84264eaa0eSValentin Longchamp 
85264eaa0eSValentin Longchamp #define CONFIG_SKIP_LOWLEVEL_INIT	/* disable board lowlevel_init */
86264eaa0eSValentin Longchamp #define CONFIG_MISC_INIT_R
87264eaa0eSValentin Longchamp 
88264eaa0eSValentin Longchamp /*
89264eaa0eSValentin Longchamp  * NS16550 Configuration
90264eaa0eSValentin Longchamp  */
91264eaa0eSValentin Longchamp #define CONFIG_SYS_NS16550_SERIAL
92264eaa0eSValentin Longchamp #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
93264eaa0eSValentin Longchamp #define CONFIG_SYS_NS16550_CLK		CONFIG_SYS_TCLK
94264eaa0eSValentin Longchamp #define CONFIG_SYS_NS16550_COM1		KW_UART0_BASE
953d3c7096SHolger Brunck #define CONFIG_SYS_NS16550_COM2		KW_UART1_BASE
96264eaa0eSValentin Longchamp 
97264eaa0eSValentin Longchamp /*
98264eaa0eSValentin Longchamp  * Serial Port configuration
99264eaa0eSValentin Longchamp  * The following definitions let you select what serial you want to use
100264eaa0eSValentin Longchamp  * for your console driver.
101264eaa0eSValentin Longchamp  */
102264eaa0eSValentin Longchamp 
103264eaa0eSValentin Longchamp #define CONFIG_CONS_INDEX	1	/* Console on UART0 */
104264eaa0eSValentin Longchamp 
105264eaa0eSValentin Longchamp /*
106264eaa0eSValentin Longchamp  * For booting Linux, the board info and command line data
107264eaa0eSValentin Longchamp  * have to be in the first 8 MB of memory, since this is
108264eaa0eSValentin Longchamp  * the maximum mapped by the Linux kernel during initialization.
109264eaa0eSValentin Longchamp  */
110264eaa0eSValentin Longchamp #define CONFIG_BOOTMAPSZ	(8 << 20)	/* Initial Memmap for Linux */
111264eaa0eSValentin Longchamp #define CONFIG_CMDLINE_TAG		/* enable passing of ATAGs  */
112264eaa0eSValentin Longchamp #define CONFIG_INITRD_TAG		/* enable INITRD tag */
113264eaa0eSValentin Longchamp #define CONFIG_SETUP_MEMORY_TAGS	/* enable memory tag */
114264eaa0eSValentin Longchamp 
115264eaa0eSValentin Longchamp /*
116264eaa0eSValentin Longchamp  * NAND Flash configuration
117264eaa0eSValentin Longchamp  */
118264eaa0eSValentin Longchamp #define CONFIG_SYS_MAX_NAND_DEVICE	1
119264eaa0eSValentin Longchamp 
120264eaa0eSValentin Longchamp #define BOOTFLASH_START		0x0
121264eaa0eSValentin Longchamp 
1223d3c7096SHolger Brunck /* Kirkwood has two serial IF */
1233d3c7096SHolger Brunck #if (CONFIG_CONS_INDEX == 2)
1243d3c7096SHolger Brunck #define CONFIG_KM_CONSOLE_TTY	"ttyS1"
1253d3c7096SHolger Brunck #else
126264eaa0eSValentin Longchamp #define CONFIG_KM_CONSOLE_TTY	"ttyS0"
1273d3c7096SHolger Brunck #endif
128264eaa0eSValentin Longchamp 
129264eaa0eSValentin Longchamp /*
130264eaa0eSValentin Longchamp  * Other required minimal configurations
131264eaa0eSValentin Longchamp  */
132264eaa0eSValentin Longchamp #define CONFIG_ARCH_CPU_INIT		/* call arch_cpu_init() */
133264eaa0eSValentin Longchamp #define CONFIG_NR_DRAM_BANKS	4
134264eaa0eSValentin Longchamp #define CONFIG_SYS_RESET_ADDRESS 0xffff0000	/* Rst Vector Adr */
135264eaa0eSValentin Longchamp 
136264eaa0eSValentin Longchamp /*
137264eaa0eSValentin Longchamp  * Ethernet Driver configuration
138264eaa0eSValentin Longchamp  */
139264eaa0eSValentin Longchamp #define CONFIG_NETCONSOLE	/* include NetConsole support   */
140264eaa0eSValentin Longchamp #define CONFIG_MII		/* expose smi ove miiphy interface */
141264eaa0eSValentin Longchamp #define CONFIG_MVGBE		/* Enable Marvell Gbe Controller Driver */
142264eaa0eSValentin Longchamp #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN	/* detect link using phy */
143264eaa0eSValentin Longchamp #define CONFIG_MVGBE_PORTS	{1, 0}	/* enable port 0 only */
144264eaa0eSValentin Longchamp #define CONFIG_PHY_BASE_ADR	0
145264eaa0eSValentin Longchamp #define CONFIG_ENV_OVERWRITE	/* ethaddr can be reprogrammed */
14699f6249aSValentin Longchamp #define CONFIG_KM_COMMON_ETH_INIT /* standard km ethernet_present for piggy */
147264eaa0eSValentin Longchamp 
148264eaa0eSValentin Longchamp /*
149264eaa0eSValentin Longchamp  * I2C related stuff
150264eaa0eSValentin Longchamp  */
151ea818dbbSHeiko Schocher #undef CONFIG_I2C_MVTWSI
152ea818dbbSHeiko Schocher #define CONFIG_SYS_I2C
153ea818dbbSHeiko Schocher #define	CONFIG_SYS_I2C_SOFT	/* I2C bit-banged	*/
1540a4f88b9SValentin Longchamp #define CONFIG_SYS_I2C_INIT_BOARD
155ea818dbbSHeiko Schocher 
156264eaa0eSValentin Longchamp #define	CONFIG_KIRKWOOD_GPIO		/* Enable GPIO Support */
157ea818dbbSHeiko Schocher #define CONFIG_SYS_NUM_I2C_BUSES	6
158ea818dbbSHeiko Schocher #define CONFIG_SYS_I2C_MAX_HOPS		1
159ea818dbbSHeiko Schocher #define CONFIG_SYS_I2C_BUSES	{	{0, {I2C_NULL_HOP} }, \
160ea818dbbSHeiko Schocher 					{0, {{I2C_MUX_PCA9547, 0x70, 1} } }, \
161ea818dbbSHeiko Schocher 					{0, {{I2C_MUX_PCA9547, 0x70, 2} } }, \
162ea818dbbSHeiko Schocher 					{0, {{I2C_MUX_PCA9547, 0x70, 3} } }, \
163ea818dbbSHeiko Schocher 					{0, {{I2C_MUX_PCA9547, 0x70, 4} } }, \
164ea818dbbSHeiko Schocher 					{0, {{I2C_MUX_PCA9547, 0x70, 5} } }, \
165ea818dbbSHeiko Schocher 				}
166ea818dbbSHeiko Schocher 
167264eaa0eSValentin Longchamp #ifndef __ASSEMBLY__
168ea385723SMasahiro Yamada #include <asm/arch/gpio.h>
169264eaa0eSValentin Longchamp extern void __set_direction(unsigned pin, int high);
170264eaa0eSValentin Longchamp void set_sda(int state);
171264eaa0eSValentin Longchamp void set_scl(int state);
172264eaa0eSValentin Longchamp int get_sda(void);
173264eaa0eSValentin Longchamp int get_scl(void);
174264eaa0eSValentin Longchamp #define KM_KIRKWOOD_SDA_PIN	8
175264eaa0eSValentin Longchamp #define KM_KIRKWOOD_SCL_PIN	9
176c471d848SHolger Brunck #define KM_KIRKWOOD_SOFT_I2C_GPIOS	0x0300
177264eaa0eSValentin Longchamp #define KM_KIRKWOOD_ENV_WP	38
178264eaa0eSValentin Longchamp 
179264eaa0eSValentin Longchamp #define I2C_ACTIVE	__set_direction(KM_KIRKWOOD_SDA_PIN, 0)
180264eaa0eSValentin Longchamp #define I2C_TRISTATE	__set_direction(KM_KIRKWOOD_SDA_PIN, 1)
181264eaa0eSValentin Longchamp #define I2C_READ	(kw_gpio_get_value(KM_KIRKWOOD_SDA_PIN) ? 1 : 0)
182264eaa0eSValentin Longchamp #define I2C_SDA(bit)	kw_gpio_set_value(KM_KIRKWOOD_SDA_PIN, bit)
183264eaa0eSValentin Longchamp #define I2C_SCL(bit)	kw_gpio_set_value(KM_KIRKWOOD_SCL_PIN, bit)
184264eaa0eSValentin Longchamp #endif
185264eaa0eSValentin Longchamp 
1869e9c6d7cSHolger Brunck #define I2C_DELAY	udelay(1)
187264eaa0eSValentin Longchamp #define I2C_SOFT_DECLARATIONS
188264eaa0eSValentin Longchamp 
189ea818dbbSHeiko Schocher #define	CONFIG_SYS_I2C_SOFT_SLAVE	0x0
190ea818dbbSHeiko Schocher #define	CONFIG_SYS_I2C_SOFT_SPEED	100000
191264eaa0eSValentin Longchamp 
1924daea6ffSStefan Bigler /* EEprom support 24C128, 24C256 valid for environment eeprom */
1934daea6ffSStefan Bigler #define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE
1944daea6ffSStefan Bigler #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	6 /* 64 Byte write page */
1954daea6ffSStefan Bigler #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	10
1964daea6ffSStefan Bigler 
197264eaa0eSValentin Longchamp #define CONFIG_SYS_I2C_EEPROM_ADDR	0x50
198264eaa0eSValentin Longchamp #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN	2
199264eaa0eSValentin Longchamp 
200264eaa0eSValentin Longchamp /*
201264eaa0eSValentin Longchamp  *  Environment variables configurations
202264eaa0eSValentin Longchamp  */
2038170aefcSHolger Brunck #if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
2048170aefcSHolger Brunck #define CONFIG_ENV_OFFSET		0xc0000     /* no bracets! */
2058170aefcSHolger Brunck #define CONFIG_ENV_SIZE			0x02000     /* Size of Environment */
2068170aefcSHolger Brunck #define CONFIG_ENV_SECT_SIZE		0x10000
2078170aefcSHolger Brunck #define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + \
2088170aefcSHolger Brunck 					CONFIG_ENV_SECT_SIZE)
2098170aefcSHolger Brunck #define CONFIG_ENV_TOTAL_SIZE		0x20000     /* no bracets! */
2108170aefcSHolger Brunck #else
211264eaa0eSValentin Longchamp #define CONFIG_SYS_DEF_EEPROM_ADDR	0x50
212264eaa0eSValentin Longchamp #define CONFIG_ENV_EEPROM_IS_ON_I2C
213264eaa0eSValentin Longchamp #define CONFIG_SYS_EEPROM_WREN
214264eaa0eSValentin Longchamp #define CONFIG_ENV_OFFSET		0x0 /* no bracets! */
215264eaa0eSValentin Longchamp #define CONFIG_ENV_SIZE			(0x2000 - CONFIG_ENV_OFFSET)
216716e4ffeSValentin Longchamp #define CONFIG_I2C_ENV_EEPROM_BUS 5 /* I2C2 (Mux-Port 5) */
217264eaa0eSValentin Longchamp #define CONFIG_ENV_OFFSET_REDUND	0x2000 /* no bracets! */
218264eaa0eSValentin Longchamp #define CONFIG_ENV_SIZE_REDUND		(CONFIG_ENV_SIZE)
2198170aefcSHolger Brunck #endif
2208170aefcSHolger Brunck 
2218170aefcSHolger Brunck #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
222264eaa0eSValentin Longchamp 
223264eaa0eSValentin Longchamp 
2240c25defcSValentin Longchamp /* SPI bus claim MPP configuration */
2250c25defcSValentin Longchamp #define CONFIG_SYS_KW_SPI_MPP	0x0
2260c25defcSValentin Longchamp 
227264eaa0eSValentin Longchamp #define FLASH_GPIO_PIN			0x00010000
2280c25defcSValentin Longchamp #define KM_FLASH_GPIO_PIN	16
229264eaa0eSValentin Longchamp 
230cf73639dSAndreas Huber #ifndef MTDIDS_DEFAULT
231264eaa0eSValentin Longchamp # define MTDIDS_DEFAULT		"nand0=orion_nand"
232cf73639dSAndreas Huber #endif /* MTDIDS_DEFAULT */
233cf73639dSAndreas Huber 
234cf73639dSAndreas Huber #ifndef MTDPARTS_DEFAULT
235264eaa0eSValentin Longchamp # define MTDPARTS_DEFAULT	"mtdparts="			\
236264eaa0eSValentin Longchamp 	"orion_nand:"						\
237cf73639dSAndreas Huber 		"-(" CONFIG_KM_UBI_PARTITION_NAME_BOOT ");"
238cf73639dSAndreas Huber #endif /* MTDPARTS_DEFAULT */
239264eaa0eSValentin Longchamp 
240af85f085SHolger Brunck #define	CONFIG_KM_UPDATE_UBOOT						\
241264eaa0eSValentin Longchamp 	"update="							\
2420c25defcSValentin Longchamp 		"sf probe 0;sf erase 0 +${filesize};"			\
2430c25defcSValentin Longchamp 		"sf write ${load_addr_r} 0 ${filesize};\0"
244264eaa0eSValentin Longchamp 
2458170aefcSHolger Brunck #if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
2468170aefcSHolger Brunck #define CONFIG_KM_NEW_ENV						\
2478170aefcSHolger Brunck 	"newenv=sf probe 0;"						\
24893ea89f0SMarek Vasut 		"sf erase " __stringify(CONFIG_ENV_OFFSET) " "		\
24993ea89f0SMarek Vasut 		__stringify(CONFIG_ENV_TOTAL_SIZE)"\0"
2508170aefcSHolger Brunck #else
2518170aefcSHolger Brunck #define CONFIG_KM_NEW_ENV						\
252ea616d4dSValentin Longchamp 	"newenv=setenv addr 0x100000 && "				\
25367bfae36SHolger Brunck 		"i2c dev " __stringify(CONFIG_I2C_ENV_EEPROM_BUS) "; "  \
25467bfae36SHolger Brunck 		"mw.b ${addr} 0 4 && "					\
25593ea89f0SMarek Vasut 		"eeprom write " __stringify(CONFIG_SYS_DEF_EEPROM_ADDR)	\
25693ea89f0SMarek Vasut 		" ${addr} " __stringify(CONFIG_ENV_OFFSET) " 4 && "	\
25793ea89f0SMarek Vasut 		"eeprom write " __stringify(CONFIG_SYS_DEF_EEPROM_ADDR)	\
25893ea89f0SMarek Vasut 		" ${addr} " __stringify(CONFIG_ENV_OFFSET_REDUND) " 4\0"
2598170aefcSHolger Brunck #endif
2608170aefcSHolger Brunck 
26156cde177SHolger Brunck #ifndef CONFIG_KM_BOARD_EXTRA_ENV
26256cde177SHolger Brunck #define CONFIG_KM_BOARD_EXTRA_ENV       ""
26356cde177SHolger Brunck #endif
26456cde177SHolger Brunck 
2658170aefcSHolger Brunck /*
2668170aefcSHolger Brunck  * Default environment variables
2678170aefcSHolger Brunck  */
2688170aefcSHolger Brunck #define CONFIG_EXTRA_ENV_SETTINGS					\
26956cde177SHolger Brunck 	CONFIG_KM_BOARD_EXTRA_ENV					\
2708170aefcSHolger Brunck 	CONFIG_KM_DEF_ENV						\
2718170aefcSHolger Brunck 	CONFIG_KM_NEW_ENV						\
272b648bfc2SHolger Brunck 	"arch=arm\0"							\
273ea616d4dSValentin Longchamp 	""
274ea616d4dSValentin Longchamp 
275*e856bdcfSMasahiro Yamada #if !defined(CONFIG_MTD_NOR_FLASH)
276264eaa0eSValentin Longchamp #undef	CONFIG_FLASH_CFI_MTD
277264eaa0eSValentin Longchamp #undef	CONFIG_JFFS2_CMDLINE
278264eaa0eSValentin Longchamp #endif
279264eaa0eSValentin Longchamp 
280264eaa0eSValentin Longchamp /* additions for new relocation code, must be added to all boards */
281264eaa0eSValentin Longchamp #define CONFIG_SYS_SDRAM_BASE		0x00000000
282264eaa0eSValentin Longchamp /* Do early setups now in board_init_f() */
283264eaa0eSValentin Longchamp 
284264eaa0eSValentin Longchamp /*
285264eaa0eSValentin Longchamp  * resereved pram area at the end of memroy [hex]
286264eaa0eSValentin Longchamp  * 8Mbytes for switch + 4Kbytes for bootcount
287264eaa0eSValentin Longchamp  */
288264eaa0eSValentin Longchamp #define CONFIG_KM_RESERVED_PRAM 0x801000
289264eaa0eSValentin Longchamp /* address for the bootcount (taken from end of RAM) */
290264eaa0eSValentin Longchamp #define BOOTCOUNT_ADDR          (CONFIG_KM_RESERVED_PRAM)
2910044c42eSStefan Roese /* Use generic bootcount RAM driver */
2920044c42eSStefan Roese #define CONFIG_BOOTCOUNT_RAM
293264eaa0eSValentin Longchamp 
2949400f8faSValentin Longchamp /* enable POST tests */
2959400f8faSValentin Longchamp #define CONFIG_POST	(CONFIG_SYS_POST_MEM_REGIONS)
2969400f8faSValentin Longchamp #define CONFIG_POST_SKIP_ENV_FLAGS
2979400f8faSValentin Longchamp #define CONFIG_POST_EXTERNAL_WORD_FUNCS
2989400f8faSValentin Longchamp 
299b37f7724SValentin Longchamp /* we do the whole PCIe FPGA config stuff here */
300b37f7724SValentin Longchamp 
301264eaa0eSValentin Longchamp #endif /* _CONFIG_KM_ARM_H */
302