config: remove the item CONFIG_OS_IMAGE_NAME

There is no difference between CONFIG_OS_IMAGE_NAME and CONFIG_IMAGE_NAME,
use CONFIG_IMAGE_NAME only.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
remove OS_IMAGE_NAME, using IMAGE_NAME

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
config: add load linux image type select items

1./ CONFIG_LINUX_UIMAGE for loading Linux uImage
	CONFIG_IMAGE_NAME = "uImage"

2./ CONFIG_LINUX_ZIMAGE for loading Linux zImage
	CONFIG_IMAGE_NAME = "zImage"

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
add macro defines for loading linux image types

CONFIG_LINUX_UIMAGE
CONFIG_LINUX_ZIMAGE

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
driver: loadkernel: rearrange the code of loading uImage

Prepare to add support to load zImage

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
driver: loadkernel: add support to load zImage

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
driver: loadkernel: add function to get the image actual size

prepare to get the image length when loading image

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
lib: fdt: export the function of_get_dt_total_size

prepare to get the dtb blob length when loading fdt blob.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
add enumerations, KERNEL_IMAGE, DT_BLOB

prepare to use to get kernel image and dt_blob actual size

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
nandflash: image: dt blob: load them with the actual size not the fixed size.

To reduce the kernel booting time.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
dataflash: image: dt blob: load them with the actual size not the fixed size.

To reduce the kernel booting time.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
config: remove the config items of CONFIG_IMG_SIZE and CONFIG_OF_LENGTH

Since the driver can autimatically get the image and dt blob size
when loading them, so remove this items in config system.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
makefile: remove CONFIG_OF_LENGTH macro define

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
remove the initial setting image and dt blob length

Because the driver will autimatically get the image and dt blob size late
when loading image and dt blob.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
config: remove the CONFIG_OF_FILENAME config item

which is not used.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
remove OF_FILENAME macro define

Remove the statement setting image.of_filename with OF_FILENAME,
which will be set lately with the board dedicated name.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
config: change config items CONFIG_OS_MEM_BANK with CONFIG_MEM_BANK

change CONFIG_OS_MEM_SIZE to CONFIG_MEM_SIZE

it is more meaningful.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
change CONFIG_OS_MEM_BANK with CONFIG_MEM_BANK

CONFIG_OS_MEM_SIZE -> CONFIG_MEM_SIZE

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
board: sama5d3xek: add PLLA_MULA define to improve readability

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
board: at91sam9x5ek: add PLLA_MULA/PLLA_DIVA define to improve readability

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>