diff options
| author | Graeme Russ <graeme.russ@gmail.com> | 2011-11-08 02:33:20 +0000 | 
|---|---|---|
| committer | Graeme Russ <graeme.russ@gmail.com> | 2011-11-29 21:09:52 +1100 | 
| commit | a76fc70ee190416e0c161efebdb955a5fac904d3 (patch) | |
| tree | da8e5f0fcf2cdcfd938db82d5a35008772a8ab03 /arch/x86/lib/board.c | |
| parent | a206cc23431474a9890f0301f02f50ad3dc9b062 (diff) | |
| download | olio-uboot-2014.01-a76fc70ee190416e0c161efebdb955a5fac904d3.tar.xz olio-uboot-2014.01-a76fc70ee190416e0c161efebdb955a5fac904d3.zip | |
x86: Provide more configuration granularity
Planned future ports requires more granularity for some options
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/x86/lib/board.c')
| -rw-r--r-- | arch/x86/lib/board.c | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/arch/x86/lib/board.c b/arch/x86/lib/board.c index e8227b13e..b4451795c 100644 --- a/arch/x86/lib/board.c +++ b/arch/x86/lib/board.c @@ -91,11 +91,13 @@ static int display_dram_config(void)  	return 0;  } +#ifndef CONFIG_SYS_NO_FLASH  static void display_flash_config(ulong size)  {  	puts("Flash: ");  	print_size(size, "\n");  } +#endif  /*   * Breath some life into the board... @@ -254,8 +256,12 @@ void board_init_f(ulong boot_flags)  void board_init_r(gd_t *id, ulong dest_addr)  { +#if defined(CONFIG_CMD_NET)  	char *s; +#endif +#ifndef CONFIG_SYS_NO_FLASH  	ulong size; +#endif  	static bd_t bd_data;  	static gd_t gd_data;  	init_fnc_t **init_fnc_ptr; @@ -287,10 +293,13 @@ void board_init_r(gd_t *id, ulong dest_addr)  #ifdef CONFIG_SERIAL_MULTI  	serial_initialize();  #endif + +#ifndef CONFIG_SYS_NO_FLASH  	/* configure available FLASH banks */  	size = flash_init();  	display_flash_config(size);  	show_boot_progress(0x24); +#endif  	show_boot_progress(0x25); |