ARC: build: uImage binaries/tmps generated in boot folder

[vgupta:

1: This partiall reverts commit 9902f811d
"ARC: Improvements to uImage target building" since buildroot expects
the uImage to be generated NOt in top folder but in arch/arc/boot

2. Noam's patch updated to remove the clean-files rule no longer needed]

Signed-off-by: Noam Camus <noamc@ezchip.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: build: Toolchain workaround for --build-id option

arc-linux-uclibc-ld (buildroot) or arceb-elf32-ld (EZChip) don't
recognize vanilla --build-id (-marclinux has to be passed).

The default arc-elf32-ld is fine though !

This workaround can be reverted once STAR 9000518362 is addressed by GNU
folks.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: Makesure devtmpfs is present if building for initramfs

Our initramfs now relies on devtmpfs and w/o it init just panics w/o a
clue of what's going on

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
modpost: ARC specific section added to white-list

GNU tools now correctly aggregate .gnu.linkonce.arcext* into .arcextmap
section.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: Linux as an Eclipse project

This is to enable developer import Linux sources into eclipse.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: clock source with SMP

In SMP we need some global clock source.
Need some call to platform specific routine from cycle_read_t1.

Signed-off-by: Noam Camus <noamc@ezchip.com>
NET: Add network driver

This patch adds an driver for the debug LAN device used in EZchip NPS boards.

Signed-off-by: Noam Camus <noamc@ezchip.com>
tty/8250_early: Make serial_in/serial_out be overidable

Now one can replace default methods with ones fit to its needs.
For example choose other regshift or offset.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: [plat-eznps] Add eznps platform

This platform include boards:
	Hardware Emulator (HE) version 0,1...
	Simulator based upon nSIM.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: [plat-eznps] Add eznps default board configurations

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: TLB flush for SMP

This is for cases we need to flush tlb's in several CPU's since a memory
structure may be held by several threads in the same time in different
CPU's.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: ASID with SMP

Each CPU got its own TLB and therefore it's own software cache.
Also each mmu context may reside at the same in several CPU's thanks to
threads sharing the context therefore may have different ASID.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: Add initrd from external file.

We now can easly get rootfs from external file.
It may be cpio, ext2, cramfs...

This makes vmlinux usable not only for internal cpio.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: Handle un-aligned user space access in BE.

Adding endian awarness to un-aligned access exception handling.

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: breakage while !CONFIG_ARC_HAS_DCACHE

Signed-off-by: Noam Camus <noamc@ezchip.com>
ARC: uImage compression mode

It is possible to add configuration for gzip compression.

The default is none, no compression at all.

Signed-off-by: Noam Camus <noamc@ezchip.com>
Race between targets scripts_basic and asm-generic

This resolves race in make jobs (-j2 flag).
It happend when source tree is distcleaned (mrproper).

First job:
	running target asm-generic to generate all wrappers in architecure inlude/generated.
Second job:
	trying to compile empty.c since it is under taget always and it is dependency for __build.

The error is cause empty.o depends on some headers from arch/<arch>/include/generated/asm/.

This race hit once in a while and can be very annoying.

Signed-off-by: Noam Camus <noamc@ezchip.com>
Changed linux version to EXTRAVERSION = .EZchip_1.0
ARC: Makesure devtmpfs is present if building for initramfs

Our initramfs now relies on devtmpfs and w/o it init just panics w/o a
clue of what's going on.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Noam Camus <noamc@ezchip.com>