1129ba616SKumar Gala /* 2509c4c4cSKumar Gala * Copyright 2007-2010 Freescale Semiconductor, Inc. 3129ba616SKumar Gala * 4129ba616SKumar Gala * See file CREDITS for list of people who contributed to this 5129ba616SKumar Gala * project. 6129ba616SKumar Gala * 7129ba616SKumar Gala * This program is free software; you can redistribute it and/or 8129ba616SKumar Gala * modify it under the terms of the GNU General Public License as 9129ba616SKumar Gala * published by the Free Software Foundation; either version 2 of 10129ba616SKumar Gala * the License, or (at your option) any later version. 11129ba616SKumar Gala * 12129ba616SKumar Gala * This program is distributed in the hope that it will be useful, 13129ba616SKumar Gala * but WITHOUT ANY WARRANTY; without even the implied warranty of 14129ba616SKumar Gala * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15129ba616SKumar Gala * GNU General Public License for more details. 16129ba616SKumar Gala * 17129ba616SKumar Gala * You should have received a copy of the GNU General Public License 18129ba616SKumar Gala * along with this program; if not, write to the Free Software 19129ba616SKumar Gala * Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20129ba616SKumar Gala * MA 02111-1307 USA 21129ba616SKumar Gala */ 22129ba616SKumar Gala 23129ba616SKumar Gala #include <common.h> 24129ba616SKumar Gala #include <command.h> 25129ba616SKumar Gala #include <pci.h> 26129ba616SKumar Gala #include <asm/processor.h> 27129ba616SKumar Gala #include <asm/mmu.h> 287c0d4a75SKumar Gala #include <asm/cache.h> 29129ba616SKumar Gala #include <asm/immap_85xx.h> 30c8514622SKumar Gala #include <asm/fsl_pci.h> 31129ba616SKumar Gala #include <asm/fsl_ddr_sdram.h> 32129ba616SKumar Gala #include <asm/io.h> 33*5d27e02cSKumar Gala #include <asm/fsl_serdes.h> 34129ba616SKumar Gala #include <miiphy.h> 35129ba616SKumar Gala #include <libfdt.h> 36129ba616SKumar Gala #include <fdt_support.h> 377e183cadSLiu Yu #include <tsec.h> 38b560ab85SKumar Gala #include <netdev.h> 39129ba616SKumar Gala 407e183cadSLiu Yu #include "../common/sgmii_riser.h" 41129ba616SKumar Gala 42129ba616SKumar Gala long int fixed_sdram(void); 43129ba616SKumar Gala 44129ba616SKumar Gala int checkboard (void) 45129ba616SKumar Gala { 466bb5b412SKumar Gala u8 vboot; 476bb5b412SKumar Gala u8 *pixis_base = (u8 *)PIXIS_BASE; 486bb5b412SKumar Gala 49cb69e4deSKumar Gala puts ("Board: MPC8572DS "); 50cb69e4deSKumar Gala #ifdef CONFIG_PHYS_64BIT 51cb69e4deSKumar Gala puts ("(36-bit addrmap) "); 52cb69e4deSKumar Gala #endif 53cb69e4deSKumar Gala printf ("Sys ID: 0x%02x, " 546bb5b412SKumar Gala "Sys Ver: 0x%02x, FPGA Ver: 0x%02x, ", 556bb5b412SKumar Gala in_8(pixis_base + PIXIS_ID), in_8(pixis_base + PIXIS_VER), 566bb5b412SKumar Gala in_8(pixis_base + PIXIS_PVER)); 576bb5b412SKumar Gala 586bb5b412SKumar Gala vboot = in_8(pixis_base + PIXIS_VBOOT); 596bb5b412SKumar Gala switch ((vboot & PIXIS_VBOOT_LBMAP) >> 6) { 606bb5b412SKumar Gala case PIXIS_VBOOT_LBMAP_NOR0: 616bb5b412SKumar Gala puts ("vBank: 0\n"); 626bb5b412SKumar Gala break; 636bb5b412SKumar Gala case PIXIS_VBOOT_LBMAP_PJET: 646bb5b412SKumar Gala puts ("Promjet\n"); 656bb5b412SKumar Gala break; 666bb5b412SKumar Gala case PIXIS_VBOOT_LBMAP_NAND: 676bb5b412SKumar Gala puts ("NAND\n"); 686bb5b412SKumar Gala break; 696bb5b412SKumar Gala case PIXIS_VBOOT_LBMAP_NOR1: 706bb5b412SKumar Gala puts ("vBank: 1\n"); 716bb5b412SKumar Gala break; 726bb5b412SKumar Gala } 736bb5b412SKumar Gala 74129ba616SKumar Gala return 0; 75129ba616SKumar Gala } 76129ba616SKumar Gala 77129ba616SKumar Gala phys_size_t initdram(int board_type) 78129ba616SKumar Gala { 79129ba616SKumar Gala phys_size_t dram_size = 0; 80129ba616SKumar Gala 81129ba616SKumar Gala puts("Initializing...."); 82129ba616SKumar Gala 83129ba616SKumar Gala #ifdef CONFIG_SPD_EEPROM 84129ba616SKumar Gala dram_size = fsl_ddr_sdram(); 85129ba616SKumar Gala #else 86129ba616SKumar Gala dram_size = fixed_sdram(); 87129ba616SKumar Gala #endif 88e57f0fa1SDave Liu dram_size = setup_ddr_tlbs(dram_size / 0x100000); 89e57f0fa1SDave Liu dram_size *= 0x100000; 90129ba616SKumar Gala 91129ba616SKumar Gala puts(" DDR: "); 92129ba616SKumar Gala return dram_size; 93129ba616SKumar Gala } 94129ba616SKumar Gala 95129ba616SKumar Gala #if !defined(CONFIG_SPD_EEPROM) 96129ba616SKumar Gala /* 97129ba616SKumar Gala * Fixed sdram init -- doesn't use serial presence detect. 98129ba616SKumar Gala */ 99129ba616SKumar Gala 100129ba616SKumar Gala phys_size_t fixed_sdram (void) 101129ba616SKumar Gala { 1026d0f6bcfSJean-Christophe PLAGNIOL-VILLARD volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR; 103129ba616SKumar Gala volatile ccsr_ddr_t *ddr= &immap->im_ddr; 104129ba616SKumar Gala uint d_init; 105129ba616SKumar Gala 1066d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->cs0_bnds = CONFIG_SYS_DDR_CS0_BNDS; 1076d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->cs0_config = CONFIG_SYS_DDR_CS0_CONFIG; 108129ba616SKumar Gala 1096d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->timing_cfg_3 = CONFIG_SYS_DDR_TIMING_3; 1106d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->timing_cfg_0 = CONFIG_SYS_DDR_TIMING_0; 1116d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->timing_cfg_1 = CONFIG_SYS_DDR_TIMING_1; 1126d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->timing_cfg_2 = CONFIG_SYS_DDR_TIMING_2; 1136d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_mode = CONFIG_SYS_DDR_MODE_1; 1146d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_mode_2 = CONFIG_SYS_DDR_MODE_2; 1156d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_interval = CONFIG_SYS_DDR_INTERVAL; 1166d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_data_init = CONFIG_SYS_DDR_DATA_INIT; 1176d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_clk_cntl = CONFIG_SYS_DDR_CLK_CTRL; 1186d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_cfg_2 = CONFIG_SYS_DDR_CONTROL2; 119129ba616SKumar Gala 120129ba616SKumar Gala #if defined (CONFIG_DDR_ECC) 1216d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->err_int_en = CONFIG_SYS_DDR_ERR_INT_EN; 1226d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->err_disable = CONFIG_SYS_DDR_ERR_DIS; 1236d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->err_sbe = CONFIG_SYS_DDR_SBE; 124129ba616SKumar Gala #endif 125129ba616SKumar Gala asm("sync;isync"); 126129ba616SKumar Gala 127129ba616SKumar Gala udelay(500); 128129ba616SKumar Gala 1296d0f6bcfSJean-Christophe PLAGNIOL-VILLARD ddr->sdram_cfg = CONFIG_SYS_DDR_CONTROL; 130129ba616SKumar Gala 131129ba616SKumar Gala #if defined(CONFIG_ECC_INIT_VIA_DDRCONTROLLER) 132129ba616SKumar Gala d_init = 1; 133129ba616SKumar Gala debug("DDR - 1st controller: memory initializing\n"); 134129ba616SKumar Gala /* 135129ba616SKumar Gala * Poll until memory is initialized. 136129ba616SKumar Gala * 512 Meg at 400 might hit this 200 times or so. 137129ba616SKumar Gala */ 138129ba616SKumar Gala while ((ddr->sdram_cfg_2 & (d_init << 4)) != 0) { 139129ba616SKumar Gala udelay(1000); 140129ba616SKumar Gala } 141129ba616SKumar Gala debug("DDR: memory initialized\n\n"); 142129ba616SKumar Gala asm("sync; isync"); 143129ba616SKumar Gala udelay(500); 144129ba616SKumar Gala #endif 145129ba616SKumar Gala 146129ba616SKumar Gala return 512 * 1024 * 1024; 147129ba616SKumar Gala } 148129ba616SKumar Gala 149129ba616SKumar Gala #endif 150129ba616SKumar Gala 151129ba616SKumar Gala #ifdef CONFIG_PCIE1 152129ba616SKumar Gala static struct pci_controller pcie1_hose; 153129ba616SKumar Gala #endif 154129ba616SKumar Gala 155129ba616SKumar Gala #ifdef CONFIG_PCIE2 156129ba616SKumar Gala static struct pci_controller pcie2_hose; 157129ba616SKumar Gala #endif 158129ba616SKumar Gala 159129ba616SKumar Gala #ifdef CONFIG_PCIE3 160129ba616SKumar Gala static struct pci_controller pcie3_hose; 161129ba616SKumar Gala #endif 162129ba616SKumar Gala 163129ba616SKumar Gala #ifdef CONFIG_PCI 164129ba616SKumar Gala void pci_init_board(void) 165129ba616SKumar Gala { 1666d0f6bcfSJean-Christophe PLAGNIOL-VILLARD volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); 167f61dae7cSKumar Gala struct fsl_pci_info pci_info[3]; 16842c01b9dSKumar Gala u32 devdisr, pordevsr, io_sel, temp32; 169f61dae7cSKumar Gala int first_free_busno = 0; 170f61dae7cSKumar Gala int num = 0; 171f61dae7cSKumar Gala 172f61dae7cSKumar Gala int pcie_ep, pcie_configured; 173f61dae7cSKumar Gala 174f61dae7cSKumar Gala devdisr = in_be32(&gur->devdisr); 175f61dae7cSKumar Gala pordevsr = in_be32(&gur->pordevsr); 176f61dae7cSKumar Gala io_sel = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> 19; 177129ba616SKumar Gala 17842c01b9dSKumar Gala debug (" pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel); 179129ba616SKumar Gala 180f61dae7cSKumar Gala if (!(pordevsr & MPC85xx_PORDEVSR_SGMII1_DIS)) 181129ba616SKumar Gala printf("eTSEC1 is in sgmii mode.\n"); 182f61dae7cSKumar Gala if (!(pordevsr & MPC85xx_PORDEVSR_SGMII2_DIS)) 183129ba616SKumar Gala printf("eTSEC2 is in sgmii mode.\n"); 184f61dae7cSKumar Gala if (!(pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS)) 185129ba616SKumar Gala printf("eTSEC3 is in sgmii mode.\n"); 186f61dae7cSKumar Gala if (!(pordevsr & MPC85xx_PORDEVSR_SGMII4_DIS)) 187129ba616SKumar Gala printf("eTSEC4 is in sgmii mode.\n"); 188129ba616SKumar Gala 189f61dae7cSKumar Gala puts("\n"); 190129ba616SKumar Gala #ifdef CONFIG_PCIE3 191*5d27e02cSKumar Gala pcie_configured = is_serdes_configured(PCIE3); 192129ba616SKumar Gala 193028e1168SRoy Zang if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE3)){ 194f61dae7cSKumar Gala SET_STD_PCIE_INFO(pci_info[num], 3); 19542c01b9dSKumar Gala pcie_ep = fsl_setup_hose(&pcie3_hose, pci_info[num].regs); 1968ca78f2cSPeter Tyser printf("PCIE3: connected to ULI as %s (base addr %lx)\n", 19764917ca3SPeter Tyser pcie_ep ? "Endpoint" : "Root Complex", 198f61dae7cSKumar Gala pci_info[num].regs); 199f61dae7cSKumar Gala first_free_busno = fsl_pci_init_port(&pci_info[num++], 20001471d53SKumar Gala &pcie3_hose, first_free_busno); 201129ba616SKumar Gala /* 202129ba616SKumar Gala * Activate ULI1575 legacy chip by performing a fake 203129ba616SKumar Gala * memory access. Needed to make ULI RTC work. 204129ba616SKumar Gala * Device 1d has the first on-board memory BAR. 205129ba616SKumar Gala */ 206f61dae7cSKumar Gala pci_hose_read_config_dword(&pcie3_hose, PCI_BDF(2, 0x1d, 0), 207129ba616SKumar Gala PCI_BASE_ADDRESS_1, &temp32); 2085af0fdd8SKumar Gala if (temp32 >= CONFIG_SYS_PCIE3_MEM_BUS) { 209ad97dce1SKumar Gala void *p = pci_mem_to_virt(PCI_BDF(2, 0x1d, 0), 210ad97dce1SKumar Gala temp32, 4, 0); 211ad97dce1SKumar Gala debug(" uli1572 read to %p\n", p); 212ad97dce1SKumar Gala in_be32(p); 213129ba616SKumar Gala } 214129ba616SKumar Gala } else { 215129ba616SKumar Gala printf("PCIE3: disabled\n"); 216129ba616SKumar Gala } 217f61dae7cSKumar Gala puts("\n"); 218129ba616SKumar Gala #else 219f61dae7cSKumar Gala setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_PCIE3); /* disable */ 220129ba616SKumar Gala #endif 221129ba616SKumar Gala 222129ba616SKumar Gala #ifdef CONFIG_PCIE2 223*5d27e02cSKumar Gala pcie_configured = is_serdes_configured(PCIE2); 224129ba616SKumar Gala 225028e1168SRoy Zang if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE2)){ 226f61dae7cSKumar Gala SET_STD_PCIE_INFO(pci_info[num], 2); 22742c01b9dSKumar Gala pcie_ep = fsl_setup_hose(&pcie2_hose, pci_info[num].regs); 2288ca78f2cSPeter Tyser printf("PCIE2: connected to Slot 1 as %s (base addr %lx)\n", 22964917ca3SPeter Tyser pcie_ep ? "Endpoint" : "Root Complex", 230f61dae7cSKumar Gala pci_info[num].regs); 231f61dae7cSKumar Gala first_free_busno = fsl_pci_init_port(&pci_info[num++], 23201471d53SKumar Gala &pcie2_hose, first_free_busno); 233129ba616SKumar Gala } else { 234129ba616SKumar Gala printf("PCIE2: disabled\n"); 235129ba616SKumar Gala } 236129ba616SKumar Gala 237f61dae7cSKumar Gala puts("\n"); 238129ba616SKumar Gala #else 239f61dae7cSKumar Gala setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_PCIE2); /* disable */ 240129ba616SKumar Gala #endif 241f61dae7cSKumar Gala 242129ba616SKumar Gala #ifdef CONFIG_PCIE1 243*5d27e02cSKumar Gala pcie_configured = is_serdes_configured(PCIE1); 244129ba616SKumar Gala 245129ba616SKumar Gala if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE)){ 246f61dae7cSKumar Gala SET_STD_PCIE_INFO(pci_info[num], 1); 24742c01b9dSKumar Gala pcie_ep = fsl_setup_hose(&pcie1_hose, pci_info[num].regs); 2488ca78f2cSPeter Tyser printf("PCIE1: connected to Slot 2 as %s (base addr %lx)\n", 24964917ca3SPeter Tyser pcie_ep ? "Endpoint" : "Root Complex", 250f61dae7cSKumar Gala pci_info[num].regs); 251f61dae7cSKumar Gala first_free_busno = fsl_pci_init_port(&pci_info[num++], 25201471d53SKumar Gala &pcie1_hose, first_free_busno); 253129ba616SKumar Gala } else { 254129ba616SKumar Gala printf("PCIE1: disabled\n"); 255129ba616SKumar Gala } 256129ba616SKumar Gala 257f61dae7cSKumar Gala puts("\n"); 258129ba616SKumar Gala #else 259f61dae7cSKumar Gala setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_PCIE); /* disable */ 260129ba616SKumar Gala #endif 261129ba616SKumar Gala } 262129ba616SKumar Gala #endif 263129ba616SKumar Gala 264129ba616SKumar Gala int board_early_init_r(void) 265129ba616SKumar Gala { 2666d0f6bcfSJean-Christophe PLAGNIOL-VILLARD const unsigned int flashbase = CONFIG_SYS_FLASH_BASE; 2675fb6ea3aSKumar Gala const u8 flash_esel = find_tlb_idx((void *)flashbase, 1); 268129ba616SKumar Gala 269129ba616SKumar Gala /* 270129ba616SKumar Gala * Remap Boot flash + PROMJET region to caching-inhibited 271129ba616SKumar Gala * so that flash can be erased properly. 272129ba616SKumar Gala */ 273129ba616SKumar Gala 2747c0d4a75SKumar Gala /* Flush d-cache and invalidate i-cache of any FLASH data */ 2757c0d4a75SKumar Gala flush_dcache(); 2767c0d4a75SKumar Gala invalidate_icache(); 277129ba616SKumar Gala 278129ba616SKumar Gala /* invalidate existing TLB entry for flash + promjet */ 279129ba616SKumar Gala disable_tlb(flash_esel); 280129ba616SKumar Gala 281c953ddfdSKumar Gala set_tlb(1, flashbase, CONFIG_SYS_FLASH_BASE_PHYS, /* tlb, epn, rpn */ 282129ba616SKumar Gala MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G, /* perms, wimge */ 283129ba616SKumar Gala 0, flash_esel, BOOKE_PAGESZ_256M, 1); /* ts, esel, tsize, iprot */ 284129ba616SKumar Gala 285129ba616SKumar Gala return 0; 286129ba616SKumar Gala } 287129ba616SKumar Gala 2887e183cadSLiu Yu #ifdef CONFIG_TSEC_ENET 2897e183cadSLiu Yu int board_eth_init(bd_t *bis) 2907e183cadSLiu Yu { 2917e183cadSLiu Yu struct tsec_info_struct tsec_info[4]; 2927e183cadSLiu Yu volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); 2937e183cadSLiu Yu int num = 0; 2947e183cadSLiu Yu 2957e183cadSLiu Yu #ifdef CONFIG_TSEC1 2967e183cadSLiu Yu SET_STD_TSEC_INFO(tsec_info[num], 1); 2977e183cadSLiu Yu if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII1_DIS)) 2987e183cadSLiu Yu tsec_info[num].flags |= TSEC_SGMII; 2997e183cadSLiu Yu num++; 3007e183cadSLiu Yu #endif 3017e183cadSLiu Yu #ifdef CONFIG_TSEC2 3027e183cadSLiu Yu SET_STD_TSEC_INFO(tsec_info[num], 2); 3037e183cadSLiu Yu if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII2_DIS)) 3047e183cadSLiu Yu tsec_info[num].flags |= TSEC_SGMII; 3057e183cadSLiu Yu num++; 3067e183cadSLiu Yu #endif 3077e183cadSLiu Yu #ifdef CONFIG_TSEC3 3087e183cadSLiu Yu SET_STD_TSEC_INFO(tsec_info[num], 3); 3097e183cadSLiu Yu if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII3_DIS)) 3107e183cadSLiu Yu tsec_info[num].flags |= TSEC_SGMII; 3117e183cadSLiu Yu num++; 3127e183cadSLiu Yu #endif 3137e183cadSLiu Yu #ifdef CONFIG_TSEC4 3147e183cadSLiu Yu SET_STD_TSEC_INFO(tsec_info[num], 4); 3157e183cadSLiu Yu if (!(gur->pordevsr & MPC85xx_PORDEVSR_SGMII4_DIS)) 3167e183cadSLiu Yu tsec_info[num].flags |= TSEC_SGMII; 3177e183cadSLiu Yu num++; 3187e183cadSLiu Yu #endif 3197e183cadSLiu Yu 3207e183cadSLiu Yu if (!num) { 3217e183cadSLiu Yu printf("No TSECs initialized\n"); 3227e183cadSLiu Yu 3237e183cadSLiu Yu return 0; 3247e183cadSLiu Yu } 3257e183cadSLiu Yu 326feede8b0SAndy Fleming #ifdef CONFIG_FSL_SGMII_RISER 3277e183cadSLiu Yu fsl_sgmii_riser_init(tsec_info, num); 328feede8b0SAndy Fleming #endif 3297e183cadSLiu Yu 3307e183cadSLiu Yu tsec_eth_init(bis, tsec_info, num); 3317e183cadSLiu Yu 332b560ab85SKumar Gala return pci_eth_init(bis); 3337e183cadSLiu Yu } 3347e183cadSLiu Yu #endif 3357e183cadSLiu Yu 336129ba616SKumar Gala #if defined(CONFIG_OF_BOARD_SETUP) 337129ba616SKumar Gala void ft_board_setup(void *blob, bd_t *bd) 338129ba616SKumar Gala { 339b6730512SKumar Gala phys_addr_t base; 340b6730512SKumar Gala phys_size_t size; 341129ba616SKumar Gala 342129ba616SKumar Gala ft_cpu_setup(blob, bd); 343129ba616SKumar Gala 344129ba616SKumar Gala base = getenv_bootm_low(); 345129ba616SKumar Gala size = getenv_bootm_size(); 346129ba616SKumar Gala 347129ba616SKumar Gala fdt_fixup_memory(blob, (u64)base, (u64)size); 348129ba616SKumar Gala 3496525d51fSKumar Gala FT_FSL_PCI_SETUP; 3506525d51fSKumar Gala 351feede8b0SAndy Fleming #ifdef CONFIG_FSL_SGMII_RISER 352feede8b0SAndy Fleming fsl_sgmii_riser_fdt_fixup(blob); 353feede8b0SAndy Fleming #endif 354129ba616SKumar Gala } 355129ba616SKumar Gala #endif 356129ba616SKumar Gala 357129ba616SKumar Gala #ifdef CONFIG_MP 358129ba616SKumar Gala extern void cpu_mp_lmb_reserve(struct lmb *lmb); 359129ba616SKumar Gala 360129ba616SKumar Gala void board_lmb_reserve(struct lmb *lmb) 361129ba616SKumar Gala { 362129ba616SKumar Gala cpu_mp_lmb_reserve(lmb); 363129ba616SKumar Gala } 364129ba616SKumar Gala #endif 365