mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
22 lines
640 B
C
22 lines
640 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
********************************************************************
|
|
* NOTE: This header file defines an interface to U-Boot. Including
|
|
* this (unmodified) header file in another file is considered normal
|
|
* use of U-Boot, and does *not* fall under the heading of "derived
|
|
* work".
|
|
********************************************************************
|
|
*/
|
|
|
|
#ifndef __ASM_SH_U_BOOT_H_
|
|
#define __ASM_SH_U_BOOT_H_
|
|
|
|
/* 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
|
|
|
|
#endif
|