1 /* 2 * This program is free software; you can redistribute it and/or 3 * modify it under the terms of the GNU General Public 4 * License v2 as published by the Free Software Foundation. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 9 * General Public License for more details. 10 * 11 * You should have received a copy of the GNU General Public 12 * License along with this program; if not, write to the 13 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 14 * Boston, MA 021110-1307, USA. 15 */ 16 17 /* mmc_cmds.c */ 18 int do_read_extcsd(int nargs, char **argv); 19 int do_write_extcsd(int nargs, char **argv); 20 int do_writeprotect_get(int nargs, char **argv); 21 int do_writeprotect_set(int nargs, char **argv); 22 int do_disable_512B_emulation(int nargs, char **argv); 23 int do_write_boot_en(int nargs, char **argv); 24 int do_boot_bus_conditions_set(int nargs, char **argv); 25 int do_write_bkops_en(int nargs, char **argv); 26 int do_hwreset_en(int nargs, char **argv); 27 int do_hwreset_dis(int nargs, char **argv); 28 int do_sanitize(int nargs, char **argv); 29 int do_status_get(int nargs, char **argv); 30 int do_create_gp_partition(int nargs, char **argv); 31 int do_enh_area_set(int nargs, char **argv); 32 int do_write_reliability_set(int nargs, char **argv); 33 int do_rpmb_write_key(int nargs, char **argv); 34 int do_rpmb_read_counter(int nargs, char **argv); 35 int do_rpmb_read_block(int nargs, char **argv); 36 int do_rpmb_write_block(int nargs, char **argv); 37 int do_cache_en(int nargs, char **argv); 38 int do_cache_dis(int nargs, char **argv); 39