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
62header-y += ax25.h62header-y += ax25.h
63header-y += b1lli.h63header-y += b1lli.h
64header-y += baycom.h64header-y += baycom.h
65header-y += bcm933xx_hcs.h
65header-y += bfs_fs.h66header-y += bfs_fs.h
66header-y += binfmts.h67header-y += binfmts.h
67header-y += blkpg.h68header-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
10struct 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 */