diff options
author | Valentin Longchamp <valentin.longchamp@keymile.com> | 2012-11-02 00:15:10 +0000 |
---|---|---|
committer | Prafulla Wadaskar <prafulla@marvell.com> | 2013-01-09 04:12:10 +0530 |
commit | 136846d77f9788431d0405a7291e93f9996bb016 (patch) | |
tree | 168092b3d2265763fb5192c8c308c02c664c5c44 /drivers/net/phy | |
parent | 37bead1a709fd14a97ea7c5fd3efc93be0fc64f5 (diff) |
arm/km: remove duplicate code
This patch removes 2 small portions of board specific code that are
duplicated with common ARM code and thus unnecessary. These 2 portions
of code concern the mach id that is given by u-boot to the Linux kernel
to identify the system's MACH.
The first one was the possibility to change the MACH thanks to the
'mach_id' enviroment variable. This is possible thanks to the 'machid'
env variable (see arch/arm/lib/bootm.c:boot_jump_linux()).
The seconde one is the setting of the bi_arch_number. This is already
done in arch/arm/lib/board.c:board_init_f() since km_arm.h does #define
CONFIG_MACH_TYPE.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions