fix board message

This commit is contained in:
Mariano Alvira 2010-03-03 14:07:00 -05:00
parent 664a058884
commit 43b57ea41a
2 changed files with 4 additions and 1 deletions

View file

@ -6,6 +6,9 @@
#define CAT2(x, y, z) x##y##z
#define STR(x) #x
#define STR2(x) STR(x)
#define bit(bit) (1 << bit)
#define bit_is_set(val, bit) (((val & (1 << bit)) >> bit) == 1)
#define clear_bit(val, bit) (val = (val & ~(1 << bit)))

View file

@ -24,7 +24,7 @@ void uart1_init(uint16_t inc, uint16_t mod) {
void print_welcome(char* testname) {
printf("mc1322x-test: %s\n\r",testname);
printf("board: %s\n\r", "fix print welcom");
printf("board: %s\n\r", STR2(BOARD));
}
void dump_regs(uint32_t base, uint32_t len) {