mmc.h (dae6c6ba95f61326e8012c2fec372a6735ba46b9) mmc.h (ab71188ce87ebb66192a5bdbbb9d58052bd32d93)
1/*
2 * Copyright 2008,2010 Freescale Semiconductor, Inc
3 * Andy Fleming
4 *
5 * Based (loosely) on the Linux code
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */

--- 248 unchanged lines hidden (view full) ---

257 uint f_min;
258 uint f_max;
259 int high_capacity;
260 uint bus_width;
261 uint clock;
262 uint card_caps;
263 uint host_caps;
264 uint ocr;
1/*
2 * Copyright 2008,2010 Freescale Semiconductor, Inc
3 * Andy Fleming
4 *
5 * Based (loosely) on the Linux code
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */

--- 248 unchanged lines hidden (view full) ---

257 uint f_min;
258 uint f_max;
259 int high_capacity;
260 uint bus_width;
261 uint clock;
262 uint card_caps;
263 uint host_caps;
264 uint ocr;
265 uint dsr;
266 uint dsr_imp;
265 uint scr[2];
266 uint csd[4];
267 uint cid[4];
268 ushort rca;
269 char part_config;
270 char part_num;
271 uint tran_speed;
272 uint read_bl_len;

--- 26 unchanged lines hidden (view full) ---

299struct mmc *find_mmc_device(int dev_num);
300int mmc_set_dev(int dev_num);
301void print_mmc_devices(char separator);
302int get_mmc_num(void);
303int board_mmc_getcd(struct mmc *mmc);
304int mmc_switch_part(int dev_num, unsigned int part_num);
305int mmc_getcd(struct mmc *mmc);
306int mmc_getwp(struct mmc *mmc);
267 uint scr[2];
268 uint csd[4];
269 uint cid[4];
270 ushort rca;
271 char part_config;
272 char part_num;
273 uint tran_speed;
274 uint read_bl_len;

--- 26 unchanged lines hidden (view full) ---

301struct mmc *find_mmc_device(int dev_num);
302int mmc_set_dev(int dev_num);
303void print_mmc_devices(char separator);
304int get_mmc_num(void);
305int board_mmc_getcd(struct mmc *mmc);
306int mmc_switch_part(int dev_num, unsigned int part_num);
307int mmc_getcd(struct mmc *mmc);
308int mmc_getwp(struct mmc *mmc);
309int mmc_set_dsr(struct mmc *mmc, u16 val);
307/* Function to change the size of boot partition and rpmb partitions */
308int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize,
309 unsigned long rpmbsize);
310/* Function to send commands to open/close the specified boot partition */
311int mmc_boot_part_access(struct mmc *mmc, u8 ack, u8 part_num, u8 access);
312
313/**
314 * Start device initialization and return immediately; it does not block on

--- 35 unchanged lines hidden ---
310/* Function to change the size of boot partition and rpmb partitions */
311int mmc_boot_partition_size_change(struct mmc *mmc, unsigned long bootsize,
312 unsigned long rpmbsize);
313/* Function to send commands to open/close the specified boot partition */
314int mmc_boot_part_access(struct mmc *mmc, u8 ack, u8 part_num, u8 access);
315
316/**
317 * Start device initialization and return immediately; it does not block on

--- 35 unchanged lines hidden ---