diff options
| author | Simon Glass <sjg@chromium.org> | 2013-04-26 02:53:43 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-05-01 11:17:21 -0400 | 
| commit | a733b06b69d2cb058c4363952bc0793b1f514305 (patch) | |
| tree | fad133d79d212e9686b69bef9a0f6dc9b8e1196f /arch/sandbox/include/asm/u-boot.h | |
| parent | 781adb5710694601e8ceb01256becea142c5ba6c (diff) | |
| download | olio-uboot-2014.01-a733b06b69d2cb058c4363952bc0793b1f514305.tar.xz olio-uboot-2014.01-a733b06b69d2cb058c4363952bc0793b1f514305.zip | |
sandbox: Switch over to generic board
Add generic board support for sandbox. and remove the old board init code.
Select CONFIG_SYS_GENERIC_BOARD for sandbox now that this is supported.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/sandbox/include/asm/u-boot.h')
| -rw-r--r-- | arch/sandbox/include/asm/u-boot.h | 22 | 
1 files changed, 2 insertions, 20 deletions
| diff --git a/arch/sandbox/include/asm/u-boot.h b/arch/sandbox/include/asm/u-boot.h index de8120a72..5bea1f2fc 100644 --- a/arch/sandbox/include/asm/u-boot.h +++ b/arch/sandbox/include/asm/u-boot.h @@ -36,26 +36,8 @@  #ifndef _U_BOOT_H_  #define _U_BOOT_H_	1 -typedef struct bd_info { -	unsigned long	bi_memstart;	/* start of DRAM memory */ -	phys_size_t	bi_memsize;	/* size	 of DRAM memory in bytes */ -	unsigned long	bi_flashstart;	/* start of FLASH memory */ -	unsigned long	bi_flashsize;	/* size	 of FLASH memory */ -	unsigned long	bi_flashoffset; /* reserved area for startup monitor */ -	unsigned long	bi_sramstart;	/* start of SRAM memory */ -	unsigned long	bi_sramsize;	/* size	 of SRAM memory */ -	unsigned long	bi_bootflags;	/* boot / reboot flag (for LynxOS) */ -	unsigned short	bi_ethspeed;	/* Ethernet speed in Mbps */ -	unsigned long	bi_intfreq;	/* Internal Freq, in MHz */ -	unsigned long	bi_busfreq;	/* Bus Freq, in MHz */ -	unsigned int	bi_baudrate;	/* Console Baudrate */ -	unsigned long   bi_boot_params;	/* where this board expects params */ -	struct				/* RAM configuration */ -	{ -		ulong start; -		ulong size; -	} bi_dram[CONFIG_NR_DRAM_BANKS]; -} bd_t; +/* Use the generic board which requires a unified bd_info */ +#include <asm-generic/u-boot.h>  /* For image.h:image_check_target_arch() */  #define IH_ARCH_DEFAULT IH_ARCH_SANDBOX |