commit | 99d39565da77056699ea011e82483092ec650153 | [log] [tgz] |
---|---|---|
author | Daisuke Nojiri <dnojiri@chromium.org> | Mon Mar 02 14:38:37 2015 -0800 |
committer | Patrick Georgi <pgeorgi@google.com> | Wed Apr 22 08:40:12 2015 +0200 |
tree | eaf8fc42202a1fe11034867fd9faea789565f494 | |
parent | d5f551a82a5d6f5c54798094c00ad606ca9d6807 [diff] [blame] |
google/purin: add DMA coherent region BUG=none BRANCH=broadcom-firmware TEST=boot to depthcharge Change-Id: Id10437c12e219e07121395abd442d53b3b56c7be Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: f33e9218ca8df1d149761c09253c30837b607433 Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chrome-internal-review.googlesource.com/204757 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Commit-Queue: Daisuke Nojiri <dnojiri@google.com> Original-Tested-by: Daisuke Nojiri <dnojiri@google.com> Original-Change-Id: I93def9c326cc8b4fea69078987bddf09d9f2a797 Original-Reviewed-on: https://chromium-review.googlesource.com/256417 Reviewed-on: http://review.coreboot.org/9854 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
diff --git a/src/soc/broadcom/cygnus/sdram.c b/src/soc/broadcom/cygnus/sdram.c index 1642842..bab126d 100644 --- a/src/soc/broadcom/cygnus/sdram.c +++ b/src/soc/broadcom/cygnus/sdram.c
@@ -60,3 +60,8 @@ test_ddr(); } + +uint32_t sdram_size_mb(void) +{ + return CONFIG_DRAM_SIZE_MB; +}