Merge git://git.denx.de/u-boot-marvell

This commit is contained in:
Tom Rini 2015-03-05 16:41:21 -05:00
commit 65f3151f85
4 changed files with 15 additions and 0 deletions

View File

@ -10,6 +10,11 @@
#ifndef __CONFIG_ASPENITE_H
#define __CONFIG_ASPENITE_H
/*
* Generic board support
*/
#define CONFIG_SYS_GENERIC_BOARD
/*
* Version number information
*/

View File

@ -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

View File

@ -25,6 +25,11 @@
#define MACH_TYPE_SHEEVAD 2625
#endif
/*
* Generic board support
*/
#define CONFIG_SYS_GENERIC_BOARD
/*
* Version number information
*/

View File

@ -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;