Skip to content
Commit 45530e39 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Jaehoon Chung
Browse files

mmc: omap_hsmmc: do not embed struct mmc in struct omap_hsmmc_plat



The area for struct mmc can be allocated dynamically. It greatly reduces
the size of struct omap_hsmmc_plat. This is useful in cases where the board
level code declares one or two struct omap_hsmmc_plat because it doesn't
use the Driver Model.

This saves around 740 bytes for the am335x_evm SPL.

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: default avatarAdam Ford <aford173@gmail.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 76584e33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment