[ARM] i.MX6: move ARCH_MXC to CONFIG_ARCH_MXC

To be consistent with other xvisor CONFIG parameters

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[CORE] Calling the udiv64 function, instead of using the division operator.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
[ARM] realview: add automatic selection of versatile clk

The realview init code is calling the versatile clk init code.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[CORE] net: exclude net parameters if NET is not selected.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[CORE] Add error codes VMM_EROFS, VMM_EBADMSG and VMM_EUCLEAN

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
Signed-off-by: Anup Patel <anup@brainfault.org>
[DRIVERS] MTD port on Xvisor.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
Signed-off-by: Anup Patel <anup@brainfault.org>
[CORE] Add __exported_ prefix to exported symbols from modules

It is quite likely that a module with define both symbol x and
symbol __x hence to avoid compile errors we prefix exported
symbols with __exported_ prefix.

Signed-off-by: Anup Patel <anup@brainfault.org>
[ARM] board: use "depends on" instead of "if endif"

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[DRIVERS] SabreLite SPI NOR flash driver port.

This drivers requires a bus id to be set in the parent device node, otherwise,
the bus id will be set as the bus id 0.
The M25P80 can now be used as both a character device, and a block device in
Xvisor.
The M25P80 NOR flash and similar character driver has been implemented,
following the new character device API, which allows to use the "vmm_chardev_*"
operations for this flash.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
[LIBS] use "depends on" instead of "if endif"

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[EMULATORS] use "depends on" instead of "if endif"

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[DRIVERS] use "depends on" instead of "if endif"

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[CORE] use "depends on" instead of "if endif"

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[ARCH] update all defconfigs to current config menu

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[TOOLS] coverity: update script to avoid errors on "make clean"

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
[DRIVERS] clk: Clocking APIs to show summary and tree

Linux already provides mechanism to show summary of clock tree and
also dump it via debugfs.

This patch provides APIs for linux-like clock tree summary and
clock tree dump.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
[ARM] Add imx6 specific command

This patch adds imx6 specific command for debugging purpose.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
[COMMANDS] Basic flash commands have been added.

Basic flash commands have been added which are:
- help, to get the help with the flash commands.
- list, to get the list of registered MTD devices.
- read, to read a MTD device. The offset and the number of bytes to read can be
specified on the command line.
- erase, to erase blocks from a MTD device. The offset and the length to erase
can be specified on the command line. The length must be in bytes and block-
size aligned.
- write, to write on a MTD device. The offset and the bytes to write must be
specified on the command line.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
[DRIVERS] Porting Freescale i.MX pin control driver.

This driver is required by the i.MX ESDHCI driver.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>
[DRIVERS] Correcting the Allwinner A10 pinctrl driver description.

Signed-off-by: Jimmy Durand Wesolowski <jimmy.durand-wesolowski@openwide.fr>