AT91: at91sam9g20ek: merge 2mmc version in one board
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 21 Sep 2010 16:01:37 +0000 (18:01 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 7 Oct 2010 17:56:31 +0000 (19:56 +0200)
commita6e016f19d393fbe4e040bee8155b03b840fa689
treeb68b4a7d8c999a75b0693f7f82b8083e5508ad3f
parent9a400da84ffe7205b9921c87ac24069217442c84
AT91: at91sam9g20ek: merge 2mmc version in one board

The board-sam9g20ek-2slot-mmc.c was a revision of the at91sam9g20ek
since board revision C. It contains 2 sd/mmc slots.

This merge keep the support of the old machine ID
MACH_AT91SAM9G20EK_2MMC for backward compatibility.

Now we use the ATAG to pass the hardware functionality to kernel
with this board revision encoding
 bit 0:
     0 => 1 sd/mmc slot
     1 => 2 sd/mmc slots connectors (board from revision C)

system_rev tested on Barebox commit d8f3ee103a9f4bd

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/configs/at91sam9g20ek_defconfig
arch/arm/mach-at91/Kconfig
arch/arm/mach-at91/Makefile
arch/arm/mach-at91/board-sam9g20ek-2slot-mmc.c [deleted file]
arch/arm/mach-at91/board-sam9g20ek.c