[fsbl] add fsbl for cv181x/cv180x

Change-Id: I6809bc5016d4bc148f62be2ed3f8e928ec111f19
This commit is contained in:
sam.xiang
2023-02-23 00:14:25 +08:00
parent 5c7dd7acc3
commit 4bc998a131
1392 changed files with 335829 additions and 0 deletions

18
fsbl/include/console.h Normal file
View File

@ -0,0 +1,18 @@
/*
* Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
#include <stdint.h>
int console_init(uintptr_t not_used, unsigned int uart_clk, unsigned int baud_rate);
int console_putc(int c);
int console_getc(void);
int console_flush(void);
int console_tstc(void);
#endif /* __CONSOLE_H__ */