From f250015be6e208dbb9c45873ad7abb96ac893927 Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Thu, 22 Feb 2018 15:12:52 +0000 Subject: sdcard: define SDMMC_CMD_MAX instead of using the magic '64' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Message-id: 20180215220540.6556-8-f4bug@amsat.org Signed-off-by: Peter Maydell --- hw/sd/sdmmc-internal.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hw/sd/sdmmc-internal.h (limited to 'hw/sd/sdmmc-internal.h') diff --git a/hw/sd/sdmmc-internal.h b/hw/sd/sdmmc-internal.h new file mode 100644 index 0000000000..0e96cb0081 --- /dev/null +++ b/hw/sd/sdmmc-internal.h @@ -0,0 +1,15 @@ +/* + * SD/MMC cards common + * + * Copyright (c) 2018 Philippe Mathieu-Daudé + * + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#ifndef SD_INTERNAL_H +#define SD_INTERNAL_H + +#define SDMMC_CMD_MAX 64 + +#endif -- cgit 1.4.1