mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
Merge git://git.denx.de/u-boot-marvell
This commit is contained in:
commit
65f3151f85
@ -10,6 +10,11 @@
|
||||
#ifndef __CONFIG_ASPENITE_H
|
||||
#define __CONFIG_ASPENITE_H
|
||||
|
||||
/*
|
||||
* Generic board support
|
||||
*/
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
|
||||
/*
|
||||
* Version number information
|
||||
*/
|
||||
|
@ -37,6 +37,10 @@
|
||||
#define CONFIG_KW88F6281 1 /* SOC Name */
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_DREAMPLUG
|
||||
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
|
||||
/* Add target to build it automatically upon "make" */
|
||||
#define CONFIG_BUILD_TARGET "u-boot.kwb"
|
||||
|
||||
/*
|
||||
* Commands configuration
|
||||
|
@ -25,6 +25,11 @@
|
||||
#define MACH_TYPE_SHEEVAD 2625
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Generic board support
|
||||
*/
|
||||
#define CONFIG_SYS_GENERIC_BOARD
|
||||
|
||||
/*
|
||||
* Version number information
|
||||
*/
|
||||
|
@ -498,6 +498,7 @@ static void *image_create_v1(size_t *imagesz, struct image_tool_params *params,
|
||||
binhdrsz = sizeof(struct opt_hdr_v1) +
|
||||
(binarye->binary.nargs + 1) * sizeof(unsigned int) +
|
||||
s.st_size;
|
||||
binhdrsz = ALIGN_SUP(binhdrsz, 32);
|
||||
hdr->headersz_lsb = binhdrsz & 0xFFFF;
|
||||
hdr->headersz_msb = (binhdrsz & 0xFFFF0000) >> 16;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user