We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5216df1 commit 6a5ae5aCopy full SHA for 6a5ae5a
1 file changed
board/radxa-cubie-a7a/hello_world/main.c
@@ -8,6 +8,7 @@
8
#include <log.h>
9
10
#include <common.h>
11
+#include <mmu.h>
12
13
#include <mmc/sys-sdhci.h>
14
@@ -70,13 +71,12 @@ int main(void) {
70
71
72
pmu_axp8191_dump(&i2c_pmu);
73
- uint32_t dram_size = sunxi_dram_init(dram_para);
74
- arm32_mmu_enable(SDRAM_BASE, dram_size);
+ sunxi_dram_init(NULL);
75
76
- printk_error("Detected DRAM size: %u MB\n", dram_size);
77
-
78
printk_info("Hello World!\n");
79
+ init_DRAM(0, dram_para);
+
80
syterkit_shell_attach(commands);
81
82
abort();
0 commit comments