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 /bbl | |
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 'bbl')
-rw-r--r-- | bbl/bbl.c | 1 | ||||
-rw-r--r-- | bbl/bbl.lds | 1 | ||||
-rw-r--r-- | bbl/bbl.mk.in | 1 | ||||
-rw-r--r-- | bbl/logo.c | 30 |
4 files changed, 27 insertions, 6 deletions
@@ -5,7 +5,6 @@ #include "bits.h" #include "config.h" #include "fdt.h" -#include "platform_interface.h" #include <string.h> static const void* entry_point; diff --git a/bbl/bbl.lds b/bbl/bbl.lds index b90e99f..2fd0d7c 100644 --- a/bbl/bbl.lds +++ b/bbl/bbl.lds @@ -46,6 +46,7 @@ SECTIONS . = ALIGN(0x1000); .htif : { + PROVIDE( __htif_base = .); *(.htif) } . = ALIGN(0x1000); diff --git a/bbl/bbl.mk.in b/bbl/bbl.mk.in index e3c5876..5abe2cd 100644 --- a/bbl/bbl.mk.in +++ b/bbl/bbl.mk.in @@ -3,7 +3,6 @@ bbl_subproject_deps = \ softfloat \ machine \ dummy_payload \ - platform \ bbl_hdrs = \ bbl.h \ @@ -1,10 +1,32 @@ #include <string.h> #include "mtrap.h" -#include "platform_interface.h" + +static const char logo[] = +" vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n" +" vvvvvvvvvvvvvvvvvvvvvvvvvvvv\n" +"rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvvvv\n" +"rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n" +"rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n" +"rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n" +"rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n" +"rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv \n" +"rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv \n" +"rr vvvvvvvvvvvvvvvvvvvvvv \n" +"rr vvvvvvvvvvvvvvvvvvvvvvvv rr\n" +"rrrr vvvvvvvvvvvvvvvvvvvvvvvvvv rrrr\n" +"rrrrrr vvvvvvvvvvvvvvvvvvvvvv rrrrrr\n" +"rrrrrrrr vvvvvvvvvvvvvvvvvv rrrrrrrr\n" +"rrrrrrrrrr vvvvvvvvvvvvvv rrrrrrrrrr\n" +"rrrrrrrrrrrr vvvvvvvvvv rrrrrrrrrrrr\n" +"rrrrrrrrrrrrrr vvvvvv rrrrrrrrrrrrrr\n" +"rrrrrrrrrrrrrrrr vv rrrrrrrrrrrrrrrr\n" +"rrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrr\n" +"rrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrr\n" +"rrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrr\n" +"\n" +" INSTRUCTION SETS WANT TO BE FREE\n"; void print_logo() { - const char *logo = platform__get_logo(); - if (logo != NULL) - putstring(logo); + putstring(logo); } |