diff options
author | huang lin <hl@rock-chips.com> | 2014-12-04 18:25:47 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-14 10:42:58 +0200 |
commit | 8b52c93a73f494364e43833f924fbd13e20530bc (patch) | |
tree | e57c40fa54b91619c246b11dcc678e5dddad9186 /util/sconfig | |
parent | 365250e61ec8b87a4355fca8cea32c9ae57eca05 (diff) | |
download | coreboot-8b52c93a73f494364e43833f924fbd13e20530bc.tar.xz |
libpayload dwc2: Use a new FIFO allocation method
Total FIFO length is split into 512 byte blocks.
Allocate these blocks to GRXFSIZ and GNPTXFSZ evenly.
This method avoids hardcoding and makes the FIFO size value
work for dwc2 controllers that have a different FIFO ram size.
BUG=chrome-os-partner:32634
BRANCH=None
TEST=Boot kernel from USB
Change-Id: I78ce0fa4c4600fb56c991874a93bdd6674e648c2
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 5645a25e95f84359cd10fc9fcf56e1f73fd6ce87
Original-Change-Id: Ib50a08c193f7f65392810ca3528a97554f2c3999
Original-Signed-off-by: huang lin <hl@rock-chips.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/233119
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: http://review.coreboot.org/9454
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/sconfig')
0 files changed, 0 insertions, 0 deletions