aspenite.c (cdc51c294ad33879c4e57edf4c9d2155381b1d59) | aspenite.c (81a9ab21ca4f1af85efd37de7baaad131f0e7edc) |
---|---|
1/* 2 * (C) Copyright 2010 3 * Marvell Semiconductor <www.marvell.com> 4 * Written-by: Prafulla Wadaskar <prafulla@marvell.com> 5 * Contributor: Mahavir Jain <mjain@marvell.com> 6 * 7 * See file CREDITS for list of people who contributed to this 8 * project. --- 19 unchanged lines hidden (view full) --- 28#include <asm/arch/mfp.h> 29#include <asm/arch/armada100.h> 30 31DECLARE_GLOBAL_DATA_PTR; 32 33int board_early_init_f(void) 34{ 35 u32 mfp_cfg[] = { | 1/* 2 * (C) Copyright 2010 3 * Marvell Semiconductor <www.marvell.com> 4 * Written-by: Prafulla Wadaskar <prafulla@marvell.com> 5 * Contributor: Mahavir Jain <mjain@marvell.com> 6 * 7 * See file CREDITS for list of people who contributed to this 8 * project. --- 19 unchanged lines hidden (view full) --- 28#include <asm/arch/mfp.h> 29#include <asm/arch/armada100.h> 30 31DECLARE_GLOBAL_DATA_PTR; 32 33int board_early_init_f(void) 34{ 35 u32 mfp_cfg[] = { |
36 /* I2C */ 37 MFP105_CI2C_SDA, 38 MFP106_CI2C_SCL, 39 |
|
36 /* Enable Console on UART1 */ 37 MFP107_UART1_RXD, 38 MFP108_UART1_TXD, | 40 /* Enable Console on UART1 */ 41 MFP107_UART1_RXD, 42 MFP108_UART1_TXD, |
43 |
|
39 MFP_EOC /*End of configureation*/ 40 }; 41 /* configure MFP's */ 42 mfp_config(mfp_cfg); 43 return 0; 44} 45 46int board_init(void) 47{ 48 /* arch number of Board */ 49 gd->bd->bi_arch_number = MACH_TYPE_ASPENITE; 50 /* adress of boot parameters */ 51 gd->bd->bi_boot_params = armd1_sdram_base(0) + 0x100; 52 return 0; 53} | 44 MFP_EOC /*End of configureation*/ 45 }; 46 /* configure MFP's */ 47 mfp_config(mfp_cfg); 48 return 0; 49} 50 51int board_init(void) 52{ 53 /* arch number of Board */ 54 gd->bd->bi_arch_number = MACH_TYPE_ASPENITE; 55 /* adress of boot parameters */ 56 gd->bd->bi_boot_params = armd1_sdram_base(0) + 0x100; 57 return 0; 58} |