drivers/intel/fsp2_0: Add fsp_write_line function
Add fsp_write_line function which may be called by FSP to output debug serial data to the console. TEST=Build and run on Galileo Gen2 Change-Id: If7bfcea1af82209dcdc5a9f9f2d9334842c1595e Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/16129 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -10,9 +10,16 @@
|
||||
*/
|
||||
|
||||
#include <console/console.h>
|
||||
#include <console/streams.h>
|
||||
#include <fsp/util.h>
|
||||
#include <soc/intel/common/util.h>
|
||||
|
||||
asmlinkage size_t fsp_write_line(uint8_t *buffer, size_t number_of_bytes)
|
||||
{
|
||||
console_write_line(buffer, number_of_bytes);
|
||||
return number_of_bytes;
|
||||
}
|
||||
|
||||
/*-----------
|
||||
* MemoryInit
|
||||
*-----------
|
||||
|
Reference in New Issue
Block a user