omap3: make local functions static
common: cmd_elf: make do_bootelf_exec static

do_bootelf_exec was a weak function without a prototype nor
and strong version. Just make it static.
ehci-hcd.c: make local functions static
fat: make local functions as static
gpio: make local functions static
image-fit: make local function static
net: fec_mxc: make local functions static
sdhci: make local functions static
serial: make local functions static
spi: make local functions static
tegra: make local functions static
disk/part.c: make local function static
lmb: use static for local functions
common:console: add missing include

search_device is declared in iomux, but console only
had the definition. This prevents a warning.
string.h: add missing prototypes
common:board_r: make local functions static
common/cmd_elf.c: add missing include
cmd_ide: use __weak and add prototypes

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
omap_gpmc: make functions static
arch-mx: add missing include

mxs_wait_mask_set and friends need a declaration
of struct mxs_register_32.