diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-08-29 02:18:50 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-10 16:33:59 -0700 |
commit | e54adb1e79762d3591459e5b0e9b9ff578e33fdb (patch) | |
tree | c943f510b164f8d02e2cdaf661dfad280c97da59 /arch/arm/plat-omap/include | |
parent | 761d4c9d5c213a08129523f6f452333516a2dd7c (diff) | |
download | blackbird-op-linux-e54adb1e79762d3591459e5b0e9b9ff578e33fdb.tar.gz blackbird-op-linux-e54adb1e79762d3591459e5b0e9b9ff578e33fdb.zip |
ARM: OMAP: omap3evm: cleanup revision bits
The omap3evm has its revision information bits inside the plat/board.h
file. Those bits are not used anywhere in the upstream tree besides the
board-omap3evm.c file.
Move the OMAP3EVM_BOARD_GEN_* bits to the board file and remove the
get_omap3_evm_rev() function declaration.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/board.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index e6a8d79f3fcf..db3bdc120a6e 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h @@ -14,18 +14,6 @@ #include <plat/gpio-switch.h> -/* - * OMAP35x EVM revision - * Run time detection of EVM revision is done by reading Ethernet - * PHY ID - - * GEN_1 = 0x01150000 - * GEN_2 = 0x92200000 - */ -enum { - OMAP3EVM_BOARD_GEN_1 = 0, /* EVM Rev between A - D */ - OMAP3EVM_BOARD_GEN_2, /* EVM Rev >= Rev E */ -}; - /* Different peripheral ids */ #define OMAP_TAG_CLOCK 0x4f01 #define OMAP_TAG_GPIO_SWITCH 0x4f06 @@ -125,10 +113,4 @@ extern int omap_board_config_size; /* for TI reference platforms sharing the same debug card */ extern int debug_card_init(u32 addr, unsigned gpio); -/* OMAP3EVM revision */ -#if defined(CONFIG_MACH_OMAP3EVM) -u8 get_omap3_evm_rev(void); -#else -#define get_omap3_evm_rev() (-EINVAL) -#endif #endif |