lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151223192338.128e95a4@xhacker>
Date:	Wed, 23 Dec 2015 19:23:38 +0800
From:	Jisheng Zhang <jszhang@...vell.com>
To:	<broonie@...nel.org>, <linux-spi@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
Subject: [RFC] spi: dw: support setting tmode dynamically

Hi all,

Currently the spi-dw tmode is fixed to SPI_TMOD_TR if cs_control is NULL, but we
need to set it as SPI_TMOD_EPROMREAD to read nor flash, my solution is to add and
export one functions to set the tmode, then the nor flash driver call it
before reading and set back to SPI_TMOD_TR after done.

Is there any elegant solution from SPI framework? Any suggestions are appreciated!

Thanks,
Jisheng
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ