embeddedsw/lib/sw_apps/zynq_fsbl/misc/zed/inbyte.c
Krishna Chaitanya 866380eb6b sw_apps:zynq_fsbl: Updated gpl licence and support for zed boards
Upadted the GPL licence for FSBL ps7_init gpl files.
Added support for FSBL building for microzed and zed boards

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2014-06-18 18:10:05 +05:30

14 lines
206 B
C

#include "xparameters.h"
#include "xuartps_hw.h"
#ifdef __cplusplus
extern "C" {
#endif
char inbyte(void);
#ifdef __cplusplus
}
#endif
char inbyte(void) {
return XUartPs_RecvByte(STDIN_BASEADDRESS);
}