mirror of https://github.com/thesofproject/sof.git
mailbox: remove duplicated mailbox macro
Duplicates MAILBOX_SIZE Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
049411519e
commit
39874c5f6c
|
@ -21,9 +21,6 @@
|
|||
#define MAILBOX_SW_REG_BASE MAILBOX_DEBUG_BASE
|
||||
#endif /* MAILBOX_SW_REG_BASE */
|
||||
|
||||
/* 4k should be enough for everyone ..... */
|
||||
#define IPC_MAX_MAILBOX_BYTES 0x1000
|
||||
|
||||
#define mailbox_get_exception_base() \
|
||||
MAILBOX_EXCEPTION_BASE
|
||||
|
||||
|
|
|
@ -172,7 +172,7 @@ int platform_init(struct sof *sof)
|
|||
|
||||
/* clear mailbox for early trace and debug */
|
||||
trace_point(TRACE_BOOT_PLATFORM_MBOX);
|
||||
bzero((void *)MAILBOX_BASE, IPC_MAX_MAILBOX_BYTES);
|
||||
bzero((void *)MAILBOX_BASE, MAILBOX_SIZE);
|
||||
|
||||
/* configure the shim */
|
||||
trace_point(TRACE_BOOT_PLATFORM_SHIM);
|
||||
|
|
|
@ -170,7 +170,7 @@ int platform_init(struct sof *sof)
|
|||
|
||||
/* clear mailbox for early trace and debug */
|
||||
trace_point(TRACE_BOOT_PLATFORM_MBOX);
|
||||
bzero((void *)MAILBOX_BASE, IPC_MAX_MAILBOX_BYTES);
|
||||
bzero((void *)MAILBOX_BASE, MAILBOX_SIZE);
|
||||
|
||||
trace_point(TRACE_BOOT_PLATFORM_SHIM);
|
||||
platform_init_shim();
|
||||
|
|
Loading…
Reference in New Issue