blob: 922746bbc6d3755c4ff16b9dc785ab78eedf34f6 [file] [log] [blame]
Dmitry V. Levine36c72c2014-12-03 20:56:36 +00001#include "defs.h"
2
3#ifdef BFIN
4
5#include <bfin_sram.h>
6
7#include "xlat/sram_alloc_flags.h"
8
Dmitry V. Levina0bd3742015-04-07 01:36:50 +00009SYS_FUNC(sram_alloc)
Dmitry V. Levine36c72c2014-12-03 20:56:36 +000010{
Dmitry V. Levin490d58c2015-07-16 23:40:40 +000011 /* size */
12 tprintf("%lu, ", tcp->u_arg[0]);
13 /* flags */
Elliott Hughesd35df492017-02-15 15:19:05 -080014 printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
Dmitry V. Levin490d58c2015-07-16 23:40:40 +000015
16 return RVAL_DECODED | RVAL_HEX;
Dmitry V. Levine36c72c2014-12-03 20:56:36 +000017}
18
19#endif /* BFIN */