u-boot/board/freescale
Thierry Reding 314284b156 mmc: Change board_mmc_getcd() function prototype.
The new API no longer uses the extra cd parameter that was used to store
the card presence state. Instead, this information is returned via the
function's return value. board_mmc_getcd() returns -1 to indicate that
no card-detection mechanism is implemented; 0 indicates that no card is
present and 1 is returned if it was detected that a card is present.

The rationale for this change can be found in the following email
thread:

	http://lists.denx.de/pipermail/u-boot/2011-November/110180.html

In summary, the old API was not consistent with the rest of the MMC API
which always passes a struct mmc as the first parameter. Furthermore the
cd parameter was used to mean "card absence" in some implementations and
"card presence" in others.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Jason Liu <jason.hui@linaro.org>
2012-01-08 21:28:27 -06:00
..
common powerpc/p3060qds: Add board related support for P3060QDS platform 2011-11-29 08:48:06 -06:00
corenet_ds powerpc/QorIQ: fix network frame manager TBI PHY address settings 2011-11-08 08:18:16 -06:00
m547xevb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m548xevb ColdFire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined 2011-10-19 00:14:16 +08:00
m5208evbe ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5235evb ColdFire: Merge differentiated linking files into a sigle one by board 2011-10-19 00:13:39 +08:00
m5249evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5253demo ColdFire:Add mb for 5253 dram initialization 2011-09-04 22:46:55 +08:00
m5253evbe ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5271evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5272c3 ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5275evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5282evb ColdFire: Cleanup lds files for multiple defined symbols 2011-10-19 00:13:13 +08:00
m5329evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m5373evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m52277evb ColdFire: Fix the compile issue for M52277 2011-11-07 22:02:33 +08:00
m53017evb ColdFire: Cleanup for partial linking and --gc-sections 2011-09-04 22:46:55 +08:00
m54451evb ColdFire: Merge differentiated linking files into a sigle one by board 2011-10-19 00:13:39 +08:00
m54455evb ColdFire: Merge differentiated linking files into a sigle one by board 2011-10-19 00:13:39 +08:00
mpc832xemds punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc837xemds punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc837xerdb punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc5121ads GCC4.6: Squash warning in mpc5121ads.c 2011-10-27 23:54:01 +02:00
mpc7448hpc2 punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8260ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8266ads board/freescale/mpc8266ads/mpc8266ads.c: Fix GCC 4.6 build warning 2011-11-07 22:49:44 +01:00
mpc8308rdb punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8313erdb mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code 2011-11-03 18:27:56 -05:00
mpc8315erdb punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8323erdb punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8349emds mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code 2011-11-03 18:27:56 -05:00
mpc8349itx mpc83xx: Rename CONFIG_SYS_DDR_CONFIG and cleanup DDR csbnds code 2011-11-03 18:27:56 -05:00
mpc8360emds mpc83xx: mpc8360emds - fix gcc 4.6 compiler warning 2011-11-16 21:41:39 +01:00
mpc8360erdk punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8536ds punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8540ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8541cds punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8544ds punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8548cds board/freescale/mpc8548cds/mpc8548cds.c: Fix GCC 4.6 build warning 2011-11-11 07:49:00 -06:00
mpc8555cds punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8560ads punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mpc8568mds board/freescale/mpc8568mds/mpc8568mds.c: Fix GCC 4.6 build warning 2011-11-11 07:49:00 -06:00
mpc8569mds board/freescale/mpc8569mds/mpc8569mds.c: Fix GCC 4.6 build warning 2011-11-11 07:49:00 -06:00
mpc8572ds powerpc/85xx: Fix MPC8572DS NAND build 2011-11-08 11:03:54 -06:00
mpc8610hpcd board/freescale/mpc8610hpcd/mpc8610hpcd.c: Fix GCC 4.6 build warning 2011-12-02 00:16:30 +01:00
mpc8641hpcn punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mx6qarm2 i.mx: i.mx6q: add the initial support for i.mx6q ARM2 board 2011-12-09 17:30:10 +01:00
mx25pdk punt unused clean/distclean targets 2011-10-15 22:20:36 +02:00
mx31ads imx: fix coding style 2011-10-27 21:56:32 +02:00
mx31pdk mx31pdk: Enable D and I caches 2011-11-04 22:06:37 +01:00
mx35pdk MX35: added ESDC structure to imx-regs 2011-11-03 22:56:17 +01:00
mx51evk mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
mx53ard mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
mx53evk mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
mx53loco mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
mx53smd mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
p1_p2_rdb powerpc/85xx: Make inclusion of USB device fixup conditional 2011-11-08 08:36:04 -06:00
p1_p2_rdb_pc powerpc/85xx: Fix builds of P1020/P2020RDB-PC_36BIT_NAND 2011-11-11 08:14:53 -06:00
p1010rdb powerpc/85xx: Make inclusion of USB device fixup conditional 2011-11-08 08:36:04 -06:00
p1022ds GCC4.6: Squash warnings in diu.c 2011-10-27 23:54:01 +02:00
p1023rds build: add missing $(AR)->$(cmd_link_o_target) update 2011-10-22 01:18:41 +02:00
p2020come mpc85xx: support for Freescale COM Express P2020 2011-11-29 09:07:51 -06:00
p2020ds powerpc/85xx: Fix P2020DS booting 2011-10-18 01:31:08 -05:00
p2041rdb p2041rdb: fix serdes clock map 2011-12-06 21:44:33 -06:00
p3060qds powerpc/p3060qds: Add board related support for P3060QDS platform 2011-11-29 08:48:06 -06:00