ARM: socfpga: socrates: fix ENTRY_FUNCTION

The commit
	ARM: Make ENTRY_FUNCTION more robust
changed the behaviour of the ENTRY_FUNCTION. For the Socrates the call to
__barebox_arm_head() was not removed. Do so now otherwise the Socrates will
not be able to boot barebox.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
novena env: Don't request an IP Address
novena: Correctly report memory amount
ifup: set serverip to provided value when doing dhcp

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
splash: Print error message when no renderer is found

the splash command silently fails when no renderer is found for
an image type. Print an error message in this case.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
ARM: MMU: Add some debugging aids and hints

- If we have no memory registered in mmu_init() it's a critical bug.
  panic in this case.
- If we do not have a ttb when dma_alloc_coherent or remap_range is
  called it's also a critical bug. Panic in this case.
- if find_pte is called with an address outside our memory banks dump
  the memory banks and the address to give more clue what went wrong.

Also add some hints what might went wrong to the code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
err.h: Add PTR_ERR_OR_ZERO from kernel

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
ARM: i.MX6: Add initial variscite VAR-SOM-MX6 CPU support

The VAR-SOM-MX6 is a System on module from Variscite, see:

http://www.variscite.com/products/system-on-module-som/cortex-a9/var-som-mx6-cpu-freescale-imx6

This adds support for this module on the VAR-MX6CustomBoard baseboard.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
ARM: dts: i.MX6: Add IPU aliases

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
ARM: dts: i.MX6: Add HDMI nodes

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
ARM: dts: i.MX53: Fix IPU register size

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
i2c: i.MX: move to earlier initcall

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
i2c: implement of_find_i2c_adapter_by_node

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: implement clk_round_rate

Instead of returning just the current rate implement clk_round_rate
properly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: clk-mux: pass clk flags from initializers

struct clk has a flags field, let the clk-mux initializers set this
field.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: clk-gate: pass flags to initializers

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: clk-fixed-factor: pass flags to initializers

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: clk-divider: pass flags to initializers

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: introduce CLK_SET_RATE_PARENT flag

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
clk: clk-divider: sync with kernel code

This updates the clk-divider to Kernel code, but without power-of-two
divider support which we do not need yet. This also adds table based
divider support to the divider.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>