Meng-Huan Yu has uploaded this change for review.

View Change

libpayload: Unified the type of _start, _end in ARM64 mmu.h

The type of _start and _end symbols in depthcharge is "uint8_t",
it will cause compile error if trying to includes arm64/arch/mmu.h from
depthcharge.

BUG=b:171858277
TEST=Built on arm64 board
emerge-asurada libpayload depthcharge

Signed-off-by: Meng-Huan Yu <menghuan@google.com>
Change-Id: I5756f63f5cae22ecda6873c711bef16aeabc89f6
---
M payloads/libpayload/include/arm64/arch/mmu.h
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/48259/1
diff --git a/payloads/libpayload/include/arm64/arch/mmu.h b/payloads/libpayload/include/arm64/arch/mmu.h
index 9ead5d6..1126e76 100644
--- a/payloads/libpayload/include/arm64/arch/mmu.h
+++ b/payloads/libpayload/include/arm64/arch/mmu.h
@@ -46,7 +46,7 @@
* Symbols taken from linker script
* They mark the start and end of the region used by payload
*/
-extern char _start[], _end[];
+extern uint8_t _start, _end;

/* Memory attributes for mmap regions
* These attributes act as tag values for memrange regions

To view, visit change 48259. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I5756f63f5cae22ecda6873c711bef16aeabc89f6
Gerrit-Change-Number: 48259
Gerrit-PatchSet: 1
Gerrit-Owner: Meng-Huan Yu <menghuan@google.com>
Gerrit-MessageType: newchange