diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-11-03 16:30:35 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-11-03 16:36:40 -0700 |
commit | d1849cb5e3b8c714c2dae78bb15465f288707ac5 (patch) | |
tree | b3aad5d06c4b9fec59d1e6ecba1fbd25d1833814 /machine/minit.c | |
parent | 3815c611158f435d36121c2c433af664ad86d8ca (diff) | |
download | pk-d1849cb5e3b8c714c2dae78bb15465f288707ac5.zip pk-d1849cb5e3b8c714c2dae78bb15465f288707ac5.tar.gz pk-d1849cb5e3b8c714c2dae78bb15465f288707ac5.tar.bz2 |
Remove the platform interface
We now automatically detect everything that the platform interface used
to be used for, so it's now obsolete!
Diffstat (limited to 'machine/minit.c')
-rw-r--r-- | machine/minit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/machine/minit.c b/machine/minit.c index 5f98501..3623f38 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -5,8 +5,8 @@ #include "fdt.h" #include "uart.h" #include "finisher.h" -#include "platform_interface.h" #include "disabled_hart_mask.h" +#include "htif.h" #include <string.h> #include <limits.h> @@ -141,6 +141,7 @@ void init_first_hart(uintptr_t hartid, uintptr_t dtb) { // Confirm console as early as possible query_uart(dtb); + query_htif(dtb); hart_init(); hls_init(0); // this might get called again from parse_config_string |