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