1 /****************************************************************************** 2 * 3 * Copyright(c) 2019 Realtek Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 * more details. 13 * 14 *****************************************************************************/ 15 #ifndef _PHL_VERSION_H_ 16 #define _PHL_VERSION_H_ 17 18 /*major-minor-hotfix-[branchid + hotfix]*/ 19 #define PHL_VERSION(a, b, c, d) (((a) << 48) + ((b) << 32) + ((c) << 16) + (d)) 20 21 #define PHL_MAJOR_VER 0001 22 #define PHL_MINOR_VER 0015 23 #define PHL_HOTFIX_VER 0045 24 #define PHL_BRANCH_IDX 0100 25 26 #define PHL_VER_CODE PHL_VERSION(PHL_MAJOR_VER, PHL_MINOR_VER, PHL_HOTFIX_VER, PHL_BRANCH_IDX) 27 28 #endif /*_PHL_VERSION_H_*/ 29