Message ID | 7c87ca0e-dd90-07f8-cff5-badcde5e2073@seoss.co.uk |
---|---|
State | New |
Headers | show |
Series | AT91 - SAMA5D27 adding a new board - common initialisation code and file names | expand |
--- board/atmel/sama5d2_xplained/sama5d2_xplained.c 2020-12-15 10:52:32.175616057 +0000 +++ board/scs/cubemb1/cubemb1.c 2020-12-17 14:42:42.399610818 +0000 @@ -30,10 +30,6 @@ #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { -#ifdef CONFIG_DM_VIDEO - at91_video_show_board_info(); -#endif - at91_pda_detect(); return 0; } #endif @@ -83,13 +79,13 @@ return 0; } -#define AT24MAC_MAC_OFFSET 0x9a +#define MAC24AA_MAC_OFFSET 0xfa #ifdef CONFIG_MISC_INIT_R int misc_init_r(void) { #ifdef CONFIG_I2C_EEPROM - at91_set_ethaddr(AT24MAC_MAC_OFFSET); + at91_set_ethaddr(MAC24AA_MAC_OFFSET); #endif return 0;