On 1/9/08, Joachim Meyer <[EMAIL PROTECTED]> wrote: > Hi again > > In which xparams* files should i look for the right definition? > In the xparameters.h from the BSP I can't find it, it looks like this: > ------------------------------------------------------------------- > /* > * include/asm-ppc/xparameters.h > * > * This file includes the correct xparameters.h for the CONFIG'ed board > * > * Author: MontaVista Software, Inc. > * [EMAIL PROTECTED] > * > * 2004 (c) MontaVista Software, Inc. This file is licensed under the terms > * of the GNU General Public License version 2. This program is licensed > * "as is" without any warranty of any kind, whether express or implied. > */ > > #include <linux/config.h> > > #if defined(CONFIG_XILINX_ML300) > #include <platforms/4xx/xparameters/xparameters_ml300.h>
<--- Add fixups here. > #endif > #if defined(CONFIG_XILINX_ML40x) > #include <platforms/4xx/xparameters/xparameters_ml40x.h> > #endif The fixups should look like this: #define XPAR_UARTNS550_0_CLOCK_FREQ_HZ \ XPAR_<real-name-from-xparams-ml300>_FREQ_HZ #define XPAR_INTC_0_UARTNS550_0_VEC_ID \ XPAR_<real-name-from-xparams-ml300>_VEC_ID #define XPAR_UARTNS550_0_BASEADDR \ XPAR_<real-name-from-xparams-ml300>_BASEADDR Note: when you generate the EDK bsp, *make sure* you generated it for the "linux 2.6" target; not "standalone". If you don't then xparams_ml300 will be missing stuff. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded