diff options
author | Trevor Woerner <twoerner@gmail.com> | 2021-03-22 18:31:29 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-04-09 00:59:50 +0300 |
commit | 52bbcc340a5fbdaa46e26253c67d84b7af8f654e (patch) | |
tree | d074f66c6556ecb53577446b4606f0a7286e222d /board/olimex/mx23_olinuxino/mx23_olinuxino.c | |
parent | 123526e4a491aa823b7edeadb97060e909f20452 (diff) | |
download | u-boot-52bbcc340a5fbdaa46e26253c67d84b7af8f654e.tar.xz |
mx23_olinuxino: convert MMC to driver model
Convert the Olimex Olinuxino board's support for MMC to driver model following
Fabio Estevam's excellent example from:
commit: 23013aa9619881290dbeb6217f1fab863869050e:
mx23evk: Convert to driver model
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Diffstat (limited to 'board/olimex/mx23_olinuxino/mx23_olinuxino.c')
-rw-r--r-- | board/olimex/mx23_olinuxino/mx23_olinuxino.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/olimex/mx23_olinuxino/mx23_olinuxino.c b/board/olimex/mx23_olinuxino/mx23_olinuxino.c index d1e189cbb6..bdd5fcd76a 100644 --- a/board/olimex/mx23_olinuxino/mx23_olinuxino.c +++ b/board/olimex/mx23_olinuxino/mx23_olinuxino.c @@ -57,18 +57,6 @@ int dram_init(void) return mxs_dram_init(); } -#ifdef CONFIG_CMD_MMC -static int mx23_olx_mmc_cd(int id) -{ - return 1; /* Card always present */ -} - -int board_mmc_init(struct bd_info *bis) -{ - return mxsmmc_initialize(bis, 0, NULL, mx23_olx_mmc_cd); -} -#endif - int board_init(void) { /* Adress of boot parameters */ |