github.com/f-secure-foundry/tamago@v0.0.0-20220307101044-d73fcdd7f11b/board/nxp/mx6ullevk/mem.go (about) 1 // MCIMX6ULL-EVK support for tamago/arm 2 // https://github.com/f-secure-foundry/tamago 3 // 4 // Copyright (c) F-Secure Corporation 5 // https://foundry.f-secure.com 6 // 7 // Use of this source code is governed by the license 8 // that can be found in the LICENSE file. 9 10 // +build !linkramsize 11 12 package mx6ullevk 13 14 import ( 15 _ "unsafe" 16 ) 17 18 // Applications can override ramSize with the `linkramsize` build tag. 19 // 20 // This is useful when large DMA descriptors are required to re-initialize 21 // tamago `mem` package in external RAM. 22 23 // The MCIMX6ULL-EVK features a single 512MB DDR3 RAM module. 24 25 //go:linkname ramSize runtime.ramSize 26 var ramSize uint32 = 0x20000000 // 512 MB