Merge tag '2019.01-next' of https://github.com/mbgg/u-boot
- add compute module 3+ - fix 64 bit warning in bmp command
This commit is contained in:
@@ -143,6 +143,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
|
||||
DTB_DIR "bcm2837-rpi-3-a-plus.dtb",
|
||||
false,
|
||||
},
|
||||
[0x10] = {
|
||||
"Compute Module 3+",
|
||||
DTB_DIR "bcm2837-rpi-cm3.dtb",
|
||||
false,
|
||||
},
|
||||
};
|
||||
|
||||
static const struct rpi_model rpi_models_old_scheme[] = {
|
||||
|
||||
@@ -57,7 +57,7 @@ struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
|
||||
bmp = dst;
|
||||
|
||||
/* align to 32-bit-aligned-address + 2 */
|
||||
bmp = (struct bmp_image *)((((unsigned int)dst + 1) & ~3) + 2);
|
||||
bmp = (struct bmp_image *)((((uintptr_t)dst + 1) & ~3) + 2);
|
||||
|
||||
if (gunzip(bmp, CONFIG_SYS_VIDEO_LOGO_MAX_SIZE, map_sysmem(addr, 0),
|
||||
&len) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user