Remove CONFIG_MMC_BROKEN_CD
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 3 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Remove CONFIG_MMC_BROKEN_CD
Quoted 36 lines · Tom Rini
Quoted 35 lines · Jaehoon Chung
Quoted 25 lines · Jaehoon Chung
Hi Tom,
Quoted 22 lines · Tom Rini
Quoted 19 lines · Jaehoon Chung
CONFIG_MMC_BROKEN_CDneeds not to define toKconfig.
broken-cd is already provide to dt-property.
If want to poll card-detect, set to broken-cd instead of enablingCONFIG_MMC_BROKEN_CD.When checked the boards that is eabled
CONFIG_MMC_BROKEN_CD, it also used the value of dt as broken-cd.Jaehoon Chung (3):
mmc:jz_mmc; addMMC_CAP_NEEDS_POLLby default
mmc: check the flags ofhost_capsabout broken-cd
mmc:Kconfig: removeMMC_BROKEN_CDconfigurationconfigs/brppt2_defconfig | 1 - configs/ci20_mmc_defconfig | 1 - configs/meerkat96_defconfig | 1 - drivers/mmc/Kconfig | 5 ----- drivers/mmc/jz_mmc.c | 6 ++++-- drivers/mmc/mmc.c | 10 +++++----- 6 files changed, 9 insertions(+), 15 deletions(-)Quoted 5 lines
Quoted 1 line
Did you size-test this change? ci20 is extremely tight on space.
I didn't check size-test about this. Is there any check-tool?
If there is check-tool, let me know, plz. Then i will check it. (In future, I will check before sending patch.) I just checked this patch with CI.u-boot.img : 327573 -> 327625
u-boot-spl.bin : 10336 -> 10464
Quoted 7 lines
Quoted 1 line
What is ci20's limitation size?
The ci20 limit is ((14 * 1024) -
0xa00) for SPL. So we grow by 100 bytes. And with that small of an SPL we're not using DT, so, is the driver still acting correctly? Can we restructure the change such that growth is absolutely minimal? Thanks!
I will re-check this side. I didn't know that ci20 limit is too smaller. As you mentioned, ci20 SPL doesn't use dt. So it needs to set to NEEDS_POLL capability. After checking more, i will resend patches.
Thanks for reviewing.
Best Regards,
Jaehoon Chung