Fix: mbox output

This commit is contained in:
ytshih committed 2025-04-08 06:59:49 +08:00
1 parent 010f9019e8
commit 41d4a30610
5 files changed
+70 -21

No files matched your search

+4 -1
View File
@@ -40,9 +40,12 @@ extern volatile unsigned int mbox[36];
#define MBOX_CH_PROP 8
/* tags */
#define MBOX_TAG_GETSERIAL 0x10004
#define MBOX_TAG_LAST 0
#define MBOX_TAG_BOARD_REVISION 0x00010002
#define MBOX_TAG_GETSERIAL 0x00010004
#define MBOX_TAG_ARM_MEMORY 0x00010005
int mbox_call(unsigned char ch);
unsigned int get_board_revision(void);
unsigned int get_memory_base_addr(void);
unsigned int get_memory_size(void);