mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-25 19:46:10 +00:00
litedram: Update to new LiteX/LiteDRAM version
Things have changed a bit in upstream LiteX. LiteDRAM now exposes a wishbone for the CSRs for example. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
@@ -6,4 +6,7 @@ void potato_uart_irq_dis(void);
|
||||
int getchar(void);
|
||||
int putchar(int c);
|
||||
int puts(const char *str);
|
||||
|
||||
#ifndef __USE_LIBC
|
||||
size_t strlen(const char *s);
|
||||
#endif
|
||||
|
||||
@@ -31,4 +31,7 @@
|
||||
#define POTATO_CONSOLE_CLOCK_DIV 0x18
|
||||
#define POTATO_CONSOLE_IRQ_EN 0x20
|
||||
|
||||
/* Definition for the LiteDRAM control registers */
|
||||
#define DRAM_CTRL_BASE 0xc0100000
|
||||
|
||||
#endif /* __MICROWATT_SOC_H */
|
||||
|
||||
Reference in New Issue
Block a user