diff --git a/usbboot/xburst_stage2/boothandler.c b/usbboot/xburst_stage2/boothandler.c index 3438380..55f357c 100644 --- a/usbboot/xburst_stage2/boothandler.c +++ b/usbboot/xburst_stage2/boothandler.c @@ -71,7 +71,7 @@ void config_hand() memcpy(&Hand, (unsigned char *)Bulk_out_buf, sizeof(struct hand)); } -int GET_CUP_INFO_Handle() +int GET_CPU_INFO_Handle() { dprintf("\n GET_CPU_INFO:\t"); serial_put_hex(Hand.fw_args.cpu_id); @@ -282,9 +282,9 @@ int SDRAM_OPS_Handle(u8 *buf) return ERR_OK; } -void Borad_Init() +void Board_Init() { - dprintf("\n Borad_init! "); + dprintf("\n Board_init! "); serial_put_hex(Hand.fw_args.cpu_id); switch (Hand.fw_args.cpu_id) { @@ -342,7 +342,7 @@ int CONFIGRATION_Handle(u8 *buf) ; } - Borad_Init(); + Board_Init(); return ERR_OK; } diff --git a/usbboot/xburst_stage2/udc.c b/usbboot/xburst_stage2/udc.c index 1d4c9e8..8274af1 100644 --- a/usbboot/xburst_stage2/udc.c +++ b/usbboot/xburst_stage2/udc.c @@ -384,7 +384,7 @@ void usbHandleVendorReq(u8 *buf) USB_DeviceRequest *dreq = (USB_DeviceRequest *)buf; switch (dreq->bRequest) { case VR_GET_CPU_INFO: - ret_state = GET_CUP_INFO_Handle(); + ret_state = GET_CPU_INFO_Handle(); break; case VR_SET_DATA_ADDRESS: ret_state = SET_DATA_ADDERSS_Handle(buf);