Skip to content
Snippets Groups Projects
Commit dda42f87 authored by Gary Bisson's avatar Gary Bisson
Browse files

nitrogen8m: fix ddr_init build for Android


Android compiler doesn't accept #elif if there's no condition behind it.

Signed-off-by: default avatarGary Bisson <gary.bisson@boundarydevices.com>
parent c2f42715
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ void lpddr4_800MHz_cfg_umctl2(void)
reg32_write(DDRC_ADDRMAP6(0), 0x48080707);
#elif CONFIG_DDR_MB == 4096
reg32_write(DDRC_ADDRMAP6(0), 0x08080707);
#elif
#else
#error unsupported memory size
#endif
reg32_write(DDRC_ADDRMAP7(0), 0x00000f0f);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment