]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: SMDK6410: Add nC1 chipselect SROM setup
authorAndy Green <andy@warmcat.com>
Tue, 29 Dec 2009 14:40:36 +0000 (14:40 +0000)
committerBen Dooks <ben-linux@fluff.org>
Mon, 18 Jan 2010 02:41:03 +0000 (11:41 +0900)
commitf01fdac005d44e6c36af5b5eb841c4804570f0ad
tree0dc639711c946e84d92ddf8ebe2523317c7af9cf
parenta7c9194cdc9a858bbf5a4cdae289e28dea149aeb
ARM: SMDK6410: Add nC1 chipselect SROM setup

Since the mach-smdk6410.c file claims it can start up the
smsc9115 ethernet device on the board, it should take care
about configuring the necessary chip select nCS1 so it can
see the chip.  The select defaults to 8-bit mode so without
config the Ethernet doesn't work.

This patch uses the new SROM definitions to set nCS1 to the
state found in the Samsung U-Boot port for 6410.  It may be
more conservative that it needs to be since those settings
were marked as for CS8900A also using this chip select.

But this change is enough to get the ethernet working when
booted with Qi.

Signed-off-by: Andy Green <andy@warmcat.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c6410/mach-smdk6410.c