ARC: [plat-haps51] defconfig: CONFIG_MODULE and NFS curently broken

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [plat-haps51] dw_intc cosmetics

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: Prepare for GPIO support

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: [plat-haps51] gpio glue

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: dw_gpio device driver

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: [plat-haps51] defconfig update for gpio

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
mmc: dw_mmc: Enable building for ARC(Synopsys) architecture

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: [plat_haps51] add mmc_dw device to the platform

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: [plat-haps51] defconfig update for dw_mmc

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
ARC: dw_pgu2 device driver

Signed-off-by: Frank Dols <frank.dols@synopsys.com>
tty/8250_early: Prevent rounding error in uartclk to baud ratio

Modify divisor to select the nearest baud rate divider rather than the
lowest. It minimizes baud rate errors especially on low UART clock
frequencies.

For example, if uartclk is 33000000 and baud is 115200 the ratio is
about 17.9 The current code selects 17 (5% error) but should select 18
(0.5% error).

On the same lines as following:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/broken-out/serial-pick-nearest-baud-rate-divider.patch

[vgupta: comment

Actually the issue showed up when using the stock 8250 driver for
Synopsys DW UART. This was on a FPGA with ~50MHz clk. When we enabled
early serial, we saw garbage which Alexey narrowed down to the rounding
error. So the bug had been latent and it only showed up with such low
clk rates]

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [plat-*] : serial.h to be fed by platforms

Some of the ARC platforms use the standard 8250 Driver which in turn
needs BASE_BAUD. So creating the infrastructure for that and at the same
time, to keep bisectability, converting all platforms to that effect.

This is derived from changes originally done by Alexey Brodkin, who
first identified that platforms would need their own BASE_BAUD.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
ARC: [plat-haps51]: Enable early console on 8250 UART

[vgupta: commets updated

With both the barriers to enabling early 8250 console now resolved (as
follows)

* Rounding error in uartclk to baud ratio
* platform specific BASE_BAUD]

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
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>
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>
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>