1*5d898a00SShaohui Xie /* 2*5d898a00SShaohui Xie * Copyright 2012 Freescale Semiconductor, Inc. 3*5d898a00SShaohui Xie * 4*5d898a00SShaohui Xie * See file CREDITS for list of people who contributed to this 5*5d898a00SShaohui Xie * project. 6*5d898a00SShaohui Xie * 7*5d898a00SShaohui Xie * This program is free software; you can redistribute it and/or 8*5d898a00SShaohui Xie * modify it under the terms of the GNU General Public License as 9*5d898a00SShaohui Xie * published by the Free Software Foundation; either version 2 of 10*5d898a00SShaohui Xie * the License, or (at your option) any later version. 11*5d898a00SShaohui Xie * 12*5d898a00SShaohui Xie * This program is distributed in the hope that it will be useful, 13*5d898a00SShaohui Xie * but WITHOUT ANY WARRANTY; without even the implied warranty of 14*5d898a00SShaohui Xie * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*5d898a00SShaohui Xie * GNU General Public License for more details. 16*5d898a00SShaohui Xie * 17*5d898a00SShaohui Xie * You should have received a copy of the GNU General Public License 18*5d898a00SShaohui Xie * along with this program; if not, write to the Free Software 19*5d898a00SShaohui Xie * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20*5d898a00SShaohui Xie * MA 02111-1307 USA 21*5d898a00SShaohui Xie */ 22*5d898a00SShaohui Xie 23*5d898a00SShaohui Xie #ifndef PBLIMAGE_H 24*5d898a00SShaohui Xie #define PBLIMAGE_H 25*5d898a00SShaohui Xie 26*5d898a00SShaohui Xie #define RCW_BYTES 64 27*5d898a00SShaohui Xie #define RCW_PREAMBLE 0xaa55aa55 28*5d898a00SShaohui Xie #define RCW_HEADER 0x010e0100 29*5d898a00SShaohui Xie 30*5d898a00SShaohui Xie struct pbl_header { 31*5d898a00SShaohui Xie uint32_t preamble; 32*5d898a00SShaohui Xie uint32_t rcwheader; 33*5d898a00SShaohui Xie uint8_t rcw_data[RCW_BYTES]; 34*5d898a00SShaohui Xie }; 35*5d898a00SShaohui Xie 36*5d898a00SShaohui Xie #endif /* PBLIMAGE_H */ 37