diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2021-07-16 18:58:53 +0800 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2021-07-29 13:54:43 +0000 |
commit | 4a198b578a94a2ff8998a3ebc66d8e0bc6f67a12 (patch) | |
tree | 4f5eab7aaa0b48cb4f8e9a6e1e411fdbb03ce621 /src/mainboard/google/brya/variants | |
parent | ba9b476d1bdb5c3f666c16f4d5579616300e4569 (diff) |
mb/google/brya: add BASEBOARD_DIR to support different baseboard
In order to support different baseboard configuration, we
add the BASEBOARD_DIR to switch the directory. The expected
structure looks like:
mb
..|_ google
.........|_ brya
.............. |_ variants
.....................|_ baseboard
..............................|_ brya
....................................|_ gpio.c
....................................|_ memory.c
....................................|_ devicetree
..............................|_ brask
....................................|_ gpio.c
....................................|_ memory.c
....................................|_ devicetree
......................|_ brya_variant1
......................|_ brya_variant2
......................|_ ...
......................|_ brask_variant1
......................|_ brask_variant2
......................|_ ...
...............|_ <all mb common code>
BUG=b:191472401
BRANCH=None
TEST=build pass
Change-Id: Ic99e42dbbd27fa3e1f6cb3a1b5daee1c8c7b1083
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56308
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc (renamed from src/mainboard/google/brya/variants/baseboard/Makefile.inc) | 0 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb (renamed from src/mainboard/google/brya/variants/baseboard/devicetree.cb) | 0 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/gpio.c (renamed from src/mainboard/google/brya/variants/baseboard/gpio.c) | 0 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h (renamed from src/mainboard/google/brya/variants/baseboard/include/baseboard/ec.h) | 0 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/gpio.h (renamed from src/mainboard/google/brya/variants/baseboard/include/baseboard/gpio.h) | 0 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/variants.h (renamed from src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h) | 0 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/memory.c (renamed from src/mainboard/google/brya/variants/baseboard/memory.c) | 0 |
7 files changed, 0 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/Makefile.inc b/src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc index 1d38b77ea0..1d38b77ea0 100644 --- a/src/mainboard/google/brya/variants/baseboard/Makefile.inc +++ b/src/mainboard/google/brya/variants/baseboard/brya/Makefile.inc diff --git a/src/mainboard/google/brya/variants/baseboard/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb index 12bff55b68..12bff55b68 100644 --- a/src/mainboard/google/brya/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb diff --git a/src/mainboard/google/brya/variants/baseboard/gpio.c b/src/mainboard/google/brya/variants/baseboard/brya/gpio.c index bb74526add..bb74526add 100644 --- a/src/mainboard/google/brya/variants/baseboard/gpio.c +++ b/src/mainboard/google/brya/variants/baseboard/brya/gpio.c diff --git a/src/mainboard/google/brya/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h index c76274ef66..c76274ef66 100644 --- a/src/mainboard/google/brya/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/ec.h diff --git a/src/mainboard/google/brya/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/gpio.h index 0de7ffd36c..0de7ffd36c 100644 --- a/src/mainboard/google/brya/variants/baseboard/include/baseboard/gpio.h +++ b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/gpio.h diff --git a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/variants.h index c938de820d..c938de820d 100644 --- a/src/mainboard/google/brya/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/brya/variants/baseboard/brya/include/baseboard/variants.h diff --git a/src/mainboard/google/brya/variants/baseboard/memory.c b/src/mainboard/google/brya/variants/baseboard/brya/memory.c index 2a0b6aca36..2a0b6aca36 100644 --- a/src/mainboard/google/brya/variants/baseboard/memory.c +++ b/src/mainboard/google/brya/variants/baseboard/brya/memory.c |