ryu: don't re-add EC in RW flag

The EC in RW flag is already automatically installed from
coreboot's gpio gpio tables. Therefore, there is no need to
install flag on top of it which triggers an assert.

BUG=None
BRANCH=None
TEST=Built and booted kernel.

Change-Id: I013e569c3d329d3a71a6e57be985d68c539f15a4
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/232982
Reviewed-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
rockchip:fixes it doesn't beep problem

fifo status error in judgment before writing fifo,
it is not the right sound.This patch fixes this problem.

BRANCH=none
BUG=chrome-os-partner:34106
TEST=emerge--veyron depthcharge

Change-Id: I6e222aeae3e02e7795aa7113f70ab9deb51410c2
Signed-off-by: jinkun.hong <jinkun.hong@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/232872
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Julius Werner <jwerner@chromium.org>
Rush: Enable audio support (max98090 codec)

Basically same as Norrin/Nyan. With audio
periph setup in coreboot, VbExBeep works.

BUG=chrome-os-partner:32582
BRANCH=none
TEST=Built Rush OK.

Change-Id: Idfd2f0f1e688e2632946a2917bf76bd8c8037f6b
Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-on: https://chromium-review.googlesource.com/226860
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
depthcharge: Initialize VbDiskInfo to zero

Upcoming GPT-related changes add an extra field to VbDiskInfo. Previously,
the VbDiskInfos sent to vboot from the depthcharge VbExGetDiskInfo callback
were allocated with xmalloc. This means additional fields added remain
uninitialized memory. This patch changes them to be allocated with xzalloc
so that everything will be initialized with zero.

BUG=chromium:403432
TEST=compiles
BRANCH=none

Change-Id: Ic3677d615990a9afcc617d2ce81eb601522e9c88
Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/233776
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
storm: process mac address for bluetooth devices

If the third MAC address is found in the coreboot table, map it into
/chosen/bloutooth/local-mac-address. Make sure to always create this
node, as it does not exist in the supplied device tree.

BRANCH=storm
BUG=chrome-os-partner:33458
TEST=booted storm with the new firmware and looked for the mac
     addresses in the device tree:
  #  for f in $(find  /proc/device-tree -name local-mac-address); do echo $f; od -tx1 $f | head -1; done
  /proc/device-tree/soc/ethernet@37400000/local-mac-address
  0000000 f4 f5 e8 01 00 b9
  /proc/device-tree/soc/ethernet@37000000/local-mac-address
  0000000 f4 f5 e8 01 00 b8
  /proc/device-tree/chosen/bluetooth/local-mac-address
  0000000 f4 f5 e8 01 00 ba
  #

Change-Id: I733120a7362c7f89c27a3e26dfcabac6fe829b3c
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/233886
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
veyron_speedy: add initial support

Essentially a copy of jerry for now

BUG=chrome-os-partner:33269
TEST=emerge-veyron_speedy depthcharge
BRANCH=None

Change-Id: I79f6afc85dc22d819f7f1baa1873488861e1188e
Signed-off-by: huang lin <hl@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/233749
Reviewed-by: Julius Werner <jwerner@chromium.org>
llama: Add initial llama support

Change-Id: I70e7bc3b14c6f98b7045435d356a7c4019775d1f

Conflicts:
	src/drivers/storage/Makefile.inc
Amend the I2C driver to support multiple bytes (>8) transaction for TPM

Change-Id: I0f5257f871260a0c8877a12168c5c7e6967e6603
fix compilation warning for sysinfo_install_flags()

Change-Id: If6d40bdbe5b86192e0f9e200614abb74ef6a5509
depthcharge:spi bus driver for mt8135 platform

1:the v2 of the spi driver in depthcharge bus driver
2:get the id of the chromeEC

Change-Id: I864b4a6fd8f4d24774393ec4a51e5b1530ed4fbc
Signed-off-by: tonny zhang <tonny.zhang@mediatek.com>
1.Add spi parameters for ec
2.Turn on spi debug flag

Change-Id: I703962d6599355e56955bb9f32974b604b025482
1. Fix the format in board.c
2. Add EC apis for checking the status of lid and powerkey

Change-Id: I7c6ecb27cf1eafcee0ff4759675d615058150b83