lib: Add platform features in boot time print
authorAtish Patra <atish.patra@wdc.com>
Sat, 9 May 2020 23:47:31 +0000 (16:47 -0700)
committerAnup Patel <anup@brainfault.org>
Sun, 10 May 2020 04:54:08 +0000 (10:24 +0530)
commit1f235ec47f85ba90916493c7eb1378b5427a66b5
treed686ed4d551b3e92905a08d1c887542301f9b77f
parentec0d2a7d7d8b78193375651627aa6f65b9219afe
lib: Add platform features in boot time print

We have now clear distinction between platform and hart features.
Modify the boot print messages to print platform features in a string
format. In the process, this patch moved relatively larger functions
to its own file from platform.h header file.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Tested-by: Jonathan Balkind <jbalkind@cs.princeton.edu>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi/sbi_platform.h
lib/sbi/objects.mk
lib/sbi/sbi_init.c
lib/sbi/sbi_platform.c [new file with mode: 0644]