History

MIPS: BCM63XX: recognize Cable Modem firmware format

Add the firmware header format which is used by Broadcom Cable Modem SoCs such as the BCM3368 SoC. We export the bcm_hcs firmware format structure because it is used by user-land tools to create firmware images for these SoCs and will later be used by a corresponding MTD parser.

Florian Fainelli committed 13 years ago

Commit d7536011 parent 7b933423 files · +37 −2Browse files

Showing the changes to include/uapi/linux (2 of 3 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/Kbuild +1 −0
  2. include/uapi/linux/bcm933xx_hcs.h +24 −0
include/uapi/linux/Kbuild+1−0
@@ -62,6 +62,7 @@ header-y += auxvec.h · 61 unmodified lines
6262 header-y += ax25.h
6363 header-y += b1lli.h
6464 header-y += baycom.h
65+header-y += bcm933xx_hcs.h
6566 header-y += bfs_fs.h
6667 header-y += binfmts.h
6768 header-y += blkpg.h
include/uapi/linux/bcm933xx_hcs.h+24−0
@@ -0,0 +1,24 @@
1+/*
2+ * Broadcom Cable Modem firmware format
3+ */
4+
5+#ifndef __BCM933XX_HCS_H
6+#define __BCM933XX_HCS_H
7+
8+#include <linux/types.h>
9+
10+struct bcm_hcs {
11+ __u16 magic;
12+ __u16 control;
13+ __u16 rev_maj;
14+ __u16 rev_min;
15+ __u32 build_date;
16+ __u32 filelen;
17+ __u32 ldaddress;
18+ char filename[64];
19+ __u16 hcs;
20+ __u16 her_znaet_chto;
21+ __u32 crc;
22+};
23+
24+#endif /* __BCM933XX_HCS */