sync litex version and patch system.h to fix compatibility

The latest version of litex changes the way files are included, which
breaks the build.  This updates the litex repositories, and fixes the
build.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-05-15 17:50:32 +08:00
parent 063108418b
commit f01995a2cd
6 changed files with 9 additions and 5 deletions

@ -1 +1 @@
Subproject commit a35a1f7790cba537d52ccc8ae73c4e230a6cba8d Subproject commit 1f7d9eb0b99162c0a671aaebf17d963eb49f6cbc

@ -1 +1 @@
Subproject commit 43d328b9249e3c583d41bcbc15119a5f563b0c7b Subproject commit 3391398a5fccd5fc6cae36231a11d34f032dc3c5

@ -1 +1 @@
Subproject commit 2213d73b899e64707c71c87b2d79eef892018bdd Subproject commit 482d7a6b95982bb78eec051858b7d66568af3c7b

@ -1 +1 @@
Subproject commit 5b5e4fdee19c4059b61371c6b70ae927980c24ad Subproject commit b1b2b298b85a795239daad84c75be073ddc4f8bd

@ -1 +1 @@
Subproject commit 335007c87f7fc900147b7323c9702698caa35d11 Subproject commit 020625a0d0359ccb6b0fdab3942aaa159a4a5b86

View File

@ -60,6 +60,10 @@ static inline void mtspr(unsigned long add, unsigned long val)
__attribute__((noreturn)) void reboot(void); __attribute__((noreturn)) void reboot(void);
// Forward-define this function, because it's defined inside `csr.h`,
// which includes this file near the top.
static inline void reboot_ctrl_write(uint32_t v);
__attribute__((noreturn)) static inline void warmboot_to_image(uint8_t image_index) { __attribute__((noreturn)) static inline void warmboot_to_image(uint8_t image_index) {
reboot_ctrl_write(0xac | (image_index & 3) << 0); reboot_ctrl_write(0xac | (image_index & 3) << 0);
while (1); while (1);