Skip to content

Commit

Permalink
Merge pull request zephyrproject-rtos#8 from finikorg/up_squared_adsp
Browse files Browse the repository at this point in the history
Up squared adsp
  • Loading branch information
jhedberg authored Aug 22, 2019
2 parents f8f3db8 + 2695d1a commit 0930cf8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions boards/xtensa/up_squared_adsp/tools/logtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#OFFSET = 0x8000
OFFSET = 0x0
MAGIC = 0x55aa
SLOT_NUM = 32
SLOT_LEN = 256
SLOT_LEN = 64
SLOT_NUM = int(8192 / SLOT_LEN)

def read_id(f):
buf = f.read(2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ char *sof_etrace_path = "/sys/kernel/debug/sof/etrace";
char *qemu_etrace_path = "/dev/shm/qemu-bridge-etrace-mem";

unsigned long int default_trace_size = 0x2000;
unsigned long int default_buf_size = 256;
unsigned long int default_buf_size = 64;

void usage(char *prog_name)
{
Expand Down
5 changes: 5 additions & 0 deletions subsys/audio/sof.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ void dai_put(struct dai *dai)
{
}

int dai_init(void)
{
return 0;
}

struct dma dma;

struct dma *dma_get(uint32_t dir, uint32_t caps, uint32_t dev, uint32_t flags)
Expand Down
2 changes: 1 addition & 1 deletion subsys/logging/log_backend_adsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <device.h>
#include <assert.h>

#define BUF_SIZE 256
#define BUF_SIZE 64

static struct ring_buf ringbuf;

Expand Down

0 comments on commit 0930cf8

Please sign in to comment.