mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-05-04 07:19:18 +00:00
syscon: Implement a register for storing git hash info
It also stores the dirty status so that's known. This does some Makefile tricks so that we only rebuild when the git hash changes. This avoids rebuilding the world every time we run make. Also adds fusesoc generator, so that should continue to work as before. Signed-off-by: Dan Horák <dan@danny.cz> Signed-off-by: Michael Neuling <mikey@neuling.org>
This commit is contained in:
committed by
Michael Neuling
parent
050185e2ca
commit
1ddbacb67f
@@ -58,6 +58,8 @@
|
||||
#define SYS_REG_UART0_INFO 0x40
|
||||
#define SYS_REG_UART1_INFO 0x48
|
||||
#define SYS_REG_UART_IS_16550 (1ull << 32)
|
||||
#define SYS_REG_GIT_INFO 0x50
|
||||
#define SYS_REG_GIT_IS_DIRTY (1ull << 63)
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user