mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-26 22:18:54 +00:00
v1.2.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2023-2024, ArtInChip Technology Co., Ltd
|
||||
* Copyright (c) 2023-2025, ArtInChip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#define HOTPLUG_SDMC 1
|
||||
#define SD_CHECK_PIN (rt_pin_get(AIC_SDMC1_HOTPLUG_PIN))
|
||||
#define SD_DEVICE "sd0"
|
||||
#define SD_DEVICE "sd1"
|
||||
|
||||
extern void aic_mmcsd_change(u8 id);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022-2024, ArtInChip Technology Co., Ltd
|
||||
* Copyright (c) 2022-2025, ArtInChip Technology Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@@ -685,6 +685,7 @@ s32 aic_sdmc_probe(struct aic_sdmc_pdata *pdata)
|
||||
host->host.is_sdio = pdata->is_sdio;
|
||||
host->rthost = rthost;
|
||||
host->rthost->sd_hotplug = pdata->is_hotplug;
|
||||
rthost->id = pdata->id;
|
||||
rthost->private_data = host;
|
||||
aic_sdmc_setup_cfg(rthost);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user