#include "TZ_Vendor_tl.h"
#include "tci.h"
#include "tl_spay_tui_msg.h"
#include "bf_pthread_create_common.h"
#include "bf_process_cmd_coldwallet.h"
#include "bf_spay_tui.h"
#include "tees_tui.h"


TEE_Result pthread_create_common(uint32_t commandId, uint8_t update_display_only) {
	uint32_t ret = 0;
	switch (commandId) {
		case SPAY_TUI_CMD_SETUP:
		case SPAY_TUI_CMD_VERIFY:
		case SPAY_TUI_CMD_RESUME:
			ret = pthread_create_pin(commandId, update_display_only);
			break;

		default:
	        TTY_LOG("Not supportred command on BC_TUI. command :0x%08X ", commandId);
	        ret = TIMA_ERROR_TUI_UNKNOWN_CMD;
	        break;
	}

	return ret;
}



