diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-14 18:49:29 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:39:51 -0400 |
commit | f41e6088eb1a32fdb717110dde66165728e484aa (patch) | |
tree | 06dbfea695fc3321c796cc00e3193fa42d75e799 /arch/sh/include/asm/u-boot.h | |
parent | b0b359536e2bcdf9e049e36a9ad5e4f7174bdc74 (diff) |
sh: Fix build errors for generic board
This includes the following fixes:
- Define needed __init_end symbol - see initr_reloc_global_data()
- Drop SH-specific struct bd_info
- Add an empty relocate_code() function
This prevents build errors with generic board, but the code will still need
work. Perhaps this is a better alternative than deleting the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sh/include/asm/u-boot.h')
-rw-r--r-- | arch/sh/include/asm/u-boot.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/sh/include/asm/u-boot.h b/arch/sh/include/asm/u-boot.h index ea37c24497..716d8e9f2d 100644 --- a/arch/sh/include/asm/u-boot.h +++ b/arch/sh/include/asm/u-boot.h @@ -12,16 +12,8 @@ #ifndef __ASM_SH_U_BOOT_H_ #define __ASM_SH_U_BOOT_H_ -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_boot_params; /* where this board expects params */ -} 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_SH |