Skip to content

Commit

Permalink
Merge pull request #112 from YuzukiHD/dev
Browse files Browse the repository at this point in the history
[driver] fix debug info new line
  • Loading branch information
SamulKyull committed Jun 18, 2024
2 parents 66a66e6 + c9668b0 commit 6be84a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions board/avaota-a1/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ sunxi_sdhci_t sdhci0 = {
.clk_ctrl_base = CCU_BASE + CCU_SMHC_BGR_REG,
.clk_base = CCU_BASE + CCU_SMHC0_CLK_REG,
.sdhci_mmc_type = MMC_TYPE_SD,
.max_clk = MMC_CLK_50M,
.width = 50000000,
.max_clk = 50000000,
.width = SMHC_WIDTH_4BIT,
.dma_des_addr = SDRAM_BASE + 0x30080000,
.pinctrl = {
.gpio_clk = {GPIO_PIN(GPIO_PORTF, 2), GPIO_PERIPH_MUX2},
Expand Down
1 change: 1 addition & 0 deletions board/avaota-a1/extlinux_boot/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ int main(void) {

pmu_axp2202_set_vol(&i2c_pmu, "bldo3", 1800, 1);
pmu_axp2202_set_vol(&i2c_pmu, "bldo1", 1800, 1);
pmu_axp2202_set_vol(&i2c_pmu, "cldo1", 2100, 1);

pmu_axp2202_dump(&i2c_pmu);
pmu_axp1530_dump(&i2c_pmu);
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/mmc/sys-mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ static int sunxi_mmc_probe(sunxi_sdhci_t *sdhci) {
break;
}
} else {
printk_debug("SMHC: Read ext csd fail");
printk_debug("SMHC: Read ext csd fail\n");
}

if (!err & (ext_csd[EXT_CSD_REV] >= 2)) {
Expand Down

0 comments on commit 6be84a6

Please sign in to comment.