summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/xload-common.c
blob: bd6405258e9fac971e1618b089bf6054118e52f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <common.h>
#include <asm/sections.h>
#include <linux/sizes.h>
#include <mach/xload.h>

int imx_image_size(void)
{
	/* i.MX header is 4k */
	return barebox_image_size + SZ_4K;
}

int piggydata_size(void)
{
	return input_data_end - input_data;
}