coreboot/src/ec
Gabe Black 93d9f92cfb spi: Change spi_xfer to work in units of bytes instead of bits.
Whenever spi_xfer is called and whenver it's implemented, the natural unit for
the amount of data being transfered is bytes. The API expected things to be
expressed in bits, however, which led to a lot of multiplying and dividing by
eight, and checkes to make sure things were multiples of eight. All of that
can now be removed.

BUG=None
TEST=Built and booted on link, falco, peach_pit and nyan and looked for SPI
errors in the firmware log. Built for rambi.
BRANCH=None

Change-Id: I02365bdb6960a35def7be7a0cd1aa0a2cc09392f
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/192049
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
[km: cherry-pick from chromium]
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/6175
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2014-07-05 11:36:20 +02:00
..
acpi src/ec: Sanitize headers and comment #endif pairings 2014-06-25 11:34:05 +02:00
compal src/*: Remove the last remnants of struct keyboard 2014-05-13 12:14:34 +02:00
google spi: Change spi_xfer to work in units of bytes instead of bits. 2014-07-05 11:36:20 +02:00
kontron ec/kontron/it8516e: Add sanity checks for values from nvram 2013-07-29 23:22:12 +02:00
lenovo src/ec: Sanitize headers and comment #endif pairings 2014-06-25 11:34:05 +02:00
quanta src/ec: Sanitize headers and comment #endif pairings 2014-06-25 11:34:05 +02:00
smsc src/ec: Sanitize headers and comment #endif pairings 2014-06-25 11:34:05 +02:00
Kconfig ec/kontron/it8516e: Add it8516e EC driver 2013-06-06 20:39:52 +02:00
Makefile.inc ec/kontron/it8516e: Add it8516e EC driver 2013-06-06 20:39:52 +02:00