| #
ec1eaad0 |
| 28-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of http://git.denx.de/u-boot-mmc
|
| #
288db7c7 |
| 24-Oct-2016 |
Jaehoon Chung <jh80.chung@samsung.com> |
mmc: add the device name in debugging message for supplying vmmc
If vmmc didn't supply, we didn't know which card didn't supply vmmc. And changed from "put" to "debug".
Signed-off-by: Jaehoon Chung
mmc: add the device name in debugging message for supplying vmmc
If vmmc didn't supply, we didn't know which card didn't supply vmmc. And changed from "put" to "debug".
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
show more ...
|
| #
2051aefe |
| 11-Oct-2016 |
Peng Fan <peng.fan@nxp.com> |
mmc: introduce mmc_power_init
In device tree, there is vmmc-supply property for SD/MMC. Introduce mmc_power_init function to handle vmmc-supply.
mmc_power_init will first invoke board_mmc_power_ini
mmc: introduce mmc_power_init
In device tree, there is vmmc-supply property for SD/MMC. Introduce mmc_power_init function to handle vmmc-supply.
mmc_power_init will first invoke board_mmc_power_init to avoid break boards which already implement board_mmc_power_init.
If DM_MMC and DM_REGULATOR is defined, the regulator will be enabled to power up the device.
Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Jaehoon Chung <jh80.chung@samsung.com>
show more ...
|
| #
f85fad02 |
| 21-Sep-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of http://git.denx.de/u-boot-mmc
|
| #
3697e599 |
| 01-Sep-2016 |
Peng Fan <van.freenix@gmail.com> |
mmc: sd: extracting erase related information from sd status
Add function to read SD_STATUS information. According to the information, get erase_timeout/erase_size/erase_offset. Add a structure sd_s
mmc: sd: extracting erase related information from sd status
Add function to read SD_STATUS information. According to the information, get erase_timeout/erase_size/erase_offset. Add a structure sd_ssr to include the erase related information.
Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Stefan Wahren <stefan.wahren@i2se.com> Cc: Clemens Gruber <clemens.gruber@pqgruber.com> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Eric Nelson <eric@nelint.com> Cc: Stephen Warren <swarren@nvidia.com>
show more ...
|
| #
d188b113 |
| 02-Aug-2016 |
Yangbo Lu <yangbo.lu@nxp.com> |
mmc: send CMD0 before CMD1 for some MMC cards
When the MMC framework was added in u-boot, the mmc_go_idle was added before mmc_send_op_cond_iter in function mmc_send_op_cond annotating that some car
mmc: send CMD0 before CMD1 for some MMC cards
When the MMC framework was added in u-boot, the mmc_go_idle was added before mmc_send_op_cond_iter in function mmc_send_op_cond annotating that some cards seemed to need this. Actually, we still need to do this in function mmc_complete_op_cond for those cards. This has been verified on Micron MTFC4GACAECN eMMC chip.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
show more ...
|
| #
a60d94b2 |
| 05-Aug-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
|
| #
915ffa52 |
| 19-Jul-2016 |
Jaehoon Chung <jh80.chung@samsung.com> |
mmc: use the generic error number
Use the generic error number instead of specific error number. If use the generic error number, it can debug more easier.
Signed-off-by: Jaehoon Chung <jh80.chung@
mmc: use the generic error number
Use the generic error number instead of specific error number. If use the generic error number, it can debug more easier.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
show more ...
|
| #
8ca51e51 |
| 13-Jun-2016 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Add a way to use driver model for MMC operations
The driver model conversion for MMC has moved in small steps. The first step was to have an MMC device (CONFIG_DM_MMC). The second was to us
dm: mmc: Add a way to use driver model for MMC operations
The driver model conversion for MMC has moved in small steps. The first step was to have an MMC device (CONFIG_DM_MMC). The second was to use a child block device (CONFIG_BLK). The final one is to use driver model for MMC operations (CONFIG_DM_MMC_OP). Add support for this.
The immediate priority is to make all boards that use DM_MMC also use those other two options. This will allow them to be removed.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
c0c76eba |
| 13-Jun-2016 |
Simon Glass <sjg@chromium.org> |
mmc: Move tracing code into separate functions
Move this code into separate functions so that it can be used from the uclass also. Add static inline versions for when the option is disabled.
Signed
mmc: Move tracing code into separate functions
Move this code into separate functions so that it can be used from the uclass also. Add static inline versions for when the option is disabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
c40704f4 |
| 13-Jun-2016 |
Simon Glass <sjg@chromium.org> |
mmc: Move MMC boot code into its own file
Rather than having an #ifdef in the main mmc.c file, control this feature from the Makefile by moving the code into its own file.
Signed-off-by: Simon Glas
mmc: Move MMC boot code into its own file
Rather than having an #ifdef in the main mmc.c file, control this feature from the Makefile by moving the code into its own file.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
5aed4cbb |
| 13-Jun-2016 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Move non-CONFIG_BLK code into mmc_legacy.c
Rather than having #ifdef in mmc.c, move this code into the legacy file.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
eede897e |
| 13-Jun-2016 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Move CONFIG_BLK code into the mmc uclass
Rather than having #ifdef in mmc.c, move this code into the uclass file.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
7dba0b93 |
| 13-Jun-2016 |
Simon Glass <sjg@chromium.org> |
mmc: Add function declarations for mmc_bread() and mmc_switch_part()
These private functions are used both in the driver-model implementation and in the legacy code. Add them to the header.
Signed-
mmc: Add function declarations for mmc_bread() and mmc_switch_part()
These private functions are used both in the driver-model implementation and in the legacy code. Add them to the header.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
1a3619cf |
| 16-Jun-2016 |
Stefan Wahren <stefan.wahren@i2se.com> |
mmc: add MMC_VERSION_5_1
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
|
| #
dc557e9a |
| 18-Jun-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
| #
a5e27b41 |
| 07-Jun-2016 |
Heiko Schocher <hs@denx.de> |
mmc: revert mmc: Handle switch error status bit in MMC card status
revert patch: commit: 6b2221b008e0: mmc: Handle switch error status bit in MMC card status
to get eMMC working on shc board
Signe
mmc: revert mmc: Handle switch error status bit in MMC card status
revert patch: commit: 6b2221b008e0: mmc: Handle switch error status bit in MMC card status
to get eMMC working on shc board
Signed-off-by: Heiko Schocher <hs@denx.de>
show more ...
|
| #
e4a94ce4 |
| 27-May-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
For odroid-c2 (arch-meson) for now disable designware eth as meson now needs to do some harder GPIO work.
Signed-off-by: Tom Rini <trini@konsulko.com>
Conflicts:
Merge git://git.denx.de/u-boot-dm
For odroid-c2 (arch-meson) for now disable designware eth as meson now needs to do some harder GPIO work.
Signed-off-by: Tom Rini <trini@konsulko.com>
Conflicts: lib/efi_loader/efi_disk.c
Modified: configs/odroid-c2_defconfig
show more ...
|
| #
e6c28073 |
| 14-May-2016 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Use cfg directly in mmc_bind()
This small change tidies up the code slightly.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
61fe076f |
| 14-May-2016 |
Simon Glass <sjg@chromium.org> |
mmc: Use byte array for multipliers
We don't need an int since no value is over 80. This saves a small amount of SPL space (about 44 bytes).
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
e98dd20c |
| 14-May-2016 |
Simon Glass <sjg@chromium.org> |
mmc: Drop mmc_register()
This function is no longer used.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
08ca213a |
| 24-May-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
4b6e1fda |
| 17-May-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
33fb211d |
| 01-May-2016 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Add support for driver-model block devices
Add support for enabling CONFIG_BLK with MMC. This involves changing a few functions to use struct udevice and adding a MMC block device driver.
dm: mmc: Add support for driver-model block devices
Add support for enabling CONFIG_BLK with MMC. This involves changing a few functions to use struct udevice and adding a MMC block device driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
ad27dd5e |
| 01-May-2016 |
Simon Glass <sjg@chromium.org> |
dm: mmc: Add a way to bind MMC devices with driver model
Binding an MMC device when CONFIG_BLK is enabled requires that a block device be bound as a child of the MMC device. Add a function to do thi
dm: mmc: Add a way to bind MMC devices with driver model
Binding an MMC device when CONFIG_BLK is enabled requires that a block device be bound as a child of the MMC device. Add a function to do this. The mmc_create() method will be used only when DM_BLK is disabled.
Add an unbind method also.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|