summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2015-04-11 23:42:42 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-13 09:24:00 +0200
commit1e72d3c6223dd5008955797a6e7f8bf167420e1e (patch)
tree497e3cca88c275cf446f258e6f2db12ae0955380 /include
parent6393f1345a1d3e70b93f30956a43669123acae11 (diff)
downloadbarebox-1e72d3c6223dd5008955797a6e7f8bf167420e1e.tar.gz
barebox-1e72d3c6223dd5008955797a6e7f8bf167420e1e.tar.xz
net: smc1111: add a quirk for pxa pxa27x platforms
As hinted in the linux kernel driver, pxa platforms such as mainstone, stargate and idp have a broken design, where half-word writes not aligned to a word address are not working. This patch is a taking back the half-word write accessor for this specific case from the linux kernel. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/net/smc91111.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/smc91111.h b/include/net/smc91111.h
index ba9da0b8dd..72193bf972 100644
--- a/include/net/smc91111.h
+++ b/include/net/smc91111.h
@@ -11,6 +11,7 @@ struct smc91c111_pdata {
int qemu_fixup;
int addr_shift;
int bus_width;
+ bool word_aligned_short_writes;
int config_setup;
int control_setup;
};