diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-07-18 14:38:54 +0300 |
---|---|---|
committer | Anton Kochkov <anton.kochkov@gmail.com> | 2012-08-01 11:53:27 +0200 |
commit | 5e29f00c5598942b3f57813f90fbbb73f82e969b (patch) | |
tree | 7d7e0021a6d9062a9cff60c92837cc5d9ba8fc7a /src/mainboard/samsung | |
parent | 7f189cc74eb0358149f892c32a9bfa7b831c83a3 (diff) | |
download | coreboot-5e29f00c5598942b3f57813f90fbbb73f82e969b.tar.xz |
Intel and GFXUMA: drop redundant use of lb_add_memory_range()
Use of uma_resource() in northbridge code created a memory
resource marked as reserved. Such resources are removed
from system memory in write_coreboot_table().
Change-Id: I14bfd560140d8d30ec156562f23072bfae747bde
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1238
Tested-by: build bot (Jenkins)
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/mainboard/samsung')
-rw-r--r-- | src/mainboard/samsung/lumpy/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/samsung/stumpy/mainboard.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c index 20b59b7421..e83516a7ef 100644 --- a/src/mainboard/samsung/lumpy/mainboard.c +++ b/src/mainboard/samsung/lumpy/mainboard.c @@ -51,7 +51,7 @@ void mainboard_suspend_resume(void) int add_mainboard_resources(struct lb_memory *mem) { - return add_northbridge_resources(mem); + return 0; } #if defined(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) && CONFIG_PCI_OPTION_ROM_RUN_REALMODE diff --git a/src/mainboard/samsung/stumpy/mainboard.c b/src/mainboard/samsung/stumpy/mainboard.c index 2456e70fea..246b261eb9 100644 --- a/src/mainboard/samsung/stumpy/mainboard.c +++ b/src/mainboard/samsung/stumpy/mainboard.c @@ -44,7 +44,7 @@ void mainboard_suspend_resume(void) int add_mainboard_resources(struct lb_memory *mem) { - return add_northbridge_resources(mem); + return 0; } #if defined(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) && CONFIG_PCI_OPTION_ROM_RUN_REALMODE |