diff options
author | Nitin Bindal <nbindal@nvidia.com> | 2012-04-26 15:18:59 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-04-30 15:11:33 -0700 |
commit | 3bcfb01a01faf8ecc3d1d1ca19eee98c33d39a25 (patch) | |
tree | 261d4ce7c0a734d229e64c8be7645078914c232b /arch/arm/mach-tegra/board.h | |
parent | 22387a93ebc57773f4530d84b59ecb978b74a449 (diff) |
arch: arm: tegra: Add support for marvell 8797
If bootloader specify that marvell wifi chip is
present on the board, then create marvell wifi device,
else create broadcom wifi device.
Bug 954218
Change-Id: Ia0515e70b6d4b239a165b8d8629e3b90c19666b6
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/98490
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r-- | arch/arm/mach-tegra/board.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 0c1355550ed1..c7ab065bc195 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h @@ -68,6 +68,14 @@ } #endif +/* This information is passed by bootloader */ +#define COMMCHIP_UNKNOWN 0 +#define COMMCHIP_NOCHIP 1 +#define COMMCHIP_BROADCOM_BCM4329 2 +#define COMMCHIP BROADCOM_BCM4330 3 +#define COMMCHIP_MARVELL_SD8797 4 + + struct memory_accessor; void tegra_assert_system_reset(char mode, const char *cmd); @@ -162,6 +170,7 @@ void cpufreq_set_conservative_governor_param(char *name, int value); int get_core_edp(void); enum panel_type get_panel_type(void); int tegra_get_modem_id(void); +int tegra_get_commchip_id(void); enum power_supply_type get_power_supply_type(void); enum audio_codec_type get_audio_codec_type(void); int get_maximum_cpu_current_supported(void); |