soc/intel/baytrail: Add missing GSM size definitions

Change-Id: I456591f63f463c5cec1cbf3c1633bdb61be92d29
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44935
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-08-30 20:32:38 +02:00 committed by Patrick Georgi
parent 463939f7a6
commit 3406a4afef
1 changed files with 17 additions and 4 deletions

View File

@ -14,10 +14,23 @@
# define GGC_GTT_SIZE_1MB (1 << 8)
# define GGC_GTT_SIZE_2MB (2 << 8)
# define GGC_GSM_SIZE_MASK (0x1f << 3)
# define GGC_GSM_SIZE_0MB (0 << 3)
# define GGC_GSM_SIZE_32MB (1 << 3)
# define GGC_GSM_SIZE_64MB (2 << 3)
# define GGC_GSM_SIZE_128MB (4 << 3)
# define GGC_GSM_SIZE_0MB (0 << 3)
# define GGC_GSM_SIZE_32MB (1 << 3)
# define GGC_GSM_SIZE_64MB (2 << 3)
# define GGC_GSM_SIZE_96MB (3 << 3)
# define GGC_GSM_SIZE_128MB (4 << 3)
# define GGC_GSM_SIZE_160MB (5 << 3)
# define GGC_GSM_SIZE_192MB (6 << 3)
# define GGC_GSM_SIZE_224MB (7 << 3)
# define GGC_GSM_SIZE_256MB (8 << 3)
# define GGC_GSM_SIZE_288MB (9 << 3)
# define GGC_GSM_SIZE_320MB (10 << 3)
# define GGC_GSM_SIZE_352MB (11 << 3)
# define GGC_GSM_SIZE_384MB (12 << 3)
# define GGC_GSM_SIZE_416MB (13 << 3)
# define GGC_GSM_SIZE_448MB (14 << 3)
# define GGC_GSM_SIZE_480MB (15 << 3)
# define GGC_GSM_SIZE_512MB (16 << 3)
#define GSM_BASE 0x5c
#define GTT_BASE 0x70