diff options
| author | Andy Fleming <afleming@freescale.com> | 2007-08-03 02:23:23 -0500 | 
|---|---|---|
| committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2007-08-03 02:23:23 -0500 | 
| commit | 6bf6f114dcdd97ec3f80c2761ed40e31229d6b78 (patch) | |
| tree | 4bc9e1362c3090bb6d2df71109228ca61b8d00ce /lib_arm/board.c | |
| parent | 5a56af3b522ba47fb33a3fee84d23bf1e5429654 (diff) | |
| parent | 5dc210dec5bace98a50b6ba905347890091a9bb0 (diff) | |
| download | olio-uboot-2014.01-6bf6f114dcdd97ec3f80c2761ed40e31229d6b78.tar.xz olio-uboot-2014.01-6bf6f114dcdd97ec3f80c2761ed40e31229d6b78.zip | |
Merge branch 'testing' into working
Conflicts:
	CHANGELOG
	fs/fat/fat.c
	include/configs/MPC8560ADS.h
	include/configs/pcs440ep.h
	net/eth.c
Diffstat (limited to 'lib_arm/board.c')
| -rw-r--r-- | lib_arm/board.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/lib_arm/board.c b/lib_arm/board.c index babc2543e..8f4e19bfc 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -54,7 +54,7 @@  DECLARE_GLOBAL_DATA_PTR; -#if (CONFIG_COMMANDS & CFG_CMD_NAND) +#if defined(CONFIG_CMD_NAND)  void nand_init (void);  #endif @@ -296,7 +296,7 @@ void start_armboot (void)  	/* armboot_start is defined in the board-specific linker script */  	mem_malloc_init (_armboot_start - CFG_MALLOC_LEN); -#if (CONFIG_COMMANDS & CFG_CMD_NAND) +#if defined(CONFIG_CMD_NAND)  	puts ("NAND:  ");  	nand_init();		/* go init the NAND */  #endif @@ -378,16 +378,16 @@ void start_armboot (void)  	if ((s = getenv ("loadaddr")) != NULL) {  		load_addr = simple_strtoul (s, NULL, 16);  	} -#if (CONFIG_COMMANDS & CFG_CMD_NET) +#if defined(CONFIG_CMD_NET)  	if ((s = getenv ("bootfile")) != NULL) {  		copy_filename (BootFile, s, sizeof (BootFile));  	} -#endif	/* CFG_CMD_NET */ +#endif  #ifdef BOARD_LATE_INIT  	board_late_init ();  #endif -#if (CONFIG_COMMANDS & CFG_CMD_NET) +#if defined(CONFIG_CMD_NET)  #if defined(CONFIG_NET_MULTI)  	puts ("Net:   ");  #endif |