--- zzzz-none-000/linux-4.1.38/arch/arm/include/uapi/asm/setup.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/arch/arm/include/uapi/asm/setup.h 2020-11-25 10:06:48.000000000 +0000 @@ -143,6 +143,43 @@ __u32 fmemclk; }; +#if defined(CONFIG_BCM_KF_ARM_BCM963XX) +/* BCM63xx, for passing board param from boot loader */ +#define ATAG_BLPARM 0x41000601 + +struct tag_blparm { + char blparm[1]; /* this is the minimum size */ +}; + +#define ATAG_RDPSIZE 0x41000602 +struct tag_rdpsize { + __u32 tm_size; + __u32 mc_size; +}; + +#define ATAG_DHDSIZE 0x41000603 +struct tag_dhdparm { + __u32 dhd_size[3]; +}; + + + +#endif /* CONFIG_BCM_KF_ARM_BCM963XX */ + +/*--- AVM environment ---*/ +#define ATAG_ENVP 0x41000403 + +struct tag_envp { + u32 envp; +}; + +/*--- AVM environment ---*/ +#define ATAG_WLAN_DECT_CONF 0x41000404 + +struct tag_wlan_dect_conf { + u32 address; +}; + struct tag { struct tag_header hdr; union { @@ -156,6 +193,9 @@ struct tag_videolfb videolfb; struct tag_cmdline cmdline; + struct tag_envp envp; + struct tag_wlan_dect_conf wlan_dect; + /* * Acorn specific */ @@ -165,6 +205,16 @@ * DC21285 specific */ struct tag_memclk memclk; +#if defined(CONFIG_BCM_KF_ARM_BCM963XX) + + /* + * BCM63xx specific + */ + struct tag_blparm blparm; + struct tag_rdpsize rdpsize; + struct tag_dhdparm dhdparm; +#endif /* CONFIG_BCM_KF_ARM_BCM963XX */ + } u; };