X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fthor.h;h=ee67ab0a2704ed6080d10f4348c44401633716d7;hb=6d5d0c955e2ca035481bc133d453fccd065b80e8;hp=afeade45646bff851519cdbf58364d9ee944fc08;hpb=748bde608a8dfea5b64e186af4d9c27642fe7813;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/thor.h b/include/thor.h index afeade4..ee67ab0 100644 --- a/include/thor.h +++ b/include/thor.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * thor.h -- USB THOR Downloader protocol * * Copyright (C) 2013 Samsung Electronics * Lukasz Majewski * - * SPDX-License-Identifier: GPL-2.0+ - * */ #ifndef __THOR_H_ @@ -13,15 +12,9 @@ #include +#define THOR_DFU_REINIT_NEEDED 0xFFFFFFFE + int thor_handle(void); int thor_init(void); - -#ifdef CONFIG_THOR_FUNCTION int thor_add(struct usb_configuration *c); -#else -int thor_add(struct usb_configuration *c) -{ - return 0; -} -#endif #endif /* __THOR_H_ */