soc/amd/picasso: Move memmap_early_dram to common blocks
commit899be1b3529b391c430504589649f0ec9452a1d9
authorRaul E Rangel <rrangel@chromium.org>
Fri, 5 Feb 2021 22:50:20 +0000 (5 15:50 -0700)
committerFelix Held <felix-coreboot@felixheld.de>
Sun, 7 Feb 2021 18:07:24 +0000 (7 18:07 +0000)
treeef595f8e2b0b7261a8d328694bfb48a909941040
parent969a5c8e855230d274289542c9bfaaa5063f2364
soc/amd/picasso: Move memmap_early_dram to common blocks

We need the same functionality for cezanne.

TEST=Boot ezknil

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I0800c662bb473eb571c74e76a8247298f534b53f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50337
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/soc/amd/common/block/cpu/noncar/Makefile.inc
src/soc/amd/common/block/cpu/noncar/memmap.c [new file with mode: 0644]
src/soc/amd/common/block/include/amdblocks/memmap.h [moved from src/soc/amd/picasso/include/soc/memmap.h with 76% similarity]
src/soc/amd/picasso/memmap.c
src/soc/amd/picasso/romstage.c
src/soc/amd/picasso/root_complex.c