From bd6578e46d1ba93ffe6e00147704d7d18c7e5573 Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Wed, 24 Feb 2010 18:34:13 +0800 Subject: ENGR00120520: Enable MMU for mx51 and mx35 MMU enable code is missed in mx51 and mx35 u-boot. So add these codes. Signed-off-by: Terry Lv --- include/asm-arm/fec.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/asm-arm/fec.h') diff --git a/include/asm-arm/fec.h b/include/asm-arm/fec.h index fd2cc10..4e81fa0 100644 --- a/include/asm-arm/fec.h +++ b/include/asm-arm/fec.h @@ -6,7 +6,7 @@ * Copyright (c) 1997 Dan Malek (dmalek@jlc.net) * * Add FEC Structure and definitions - * Copyright 2004-2009 Freescale Semiconductor, Inc. + * Copyright 2004-2010 Freescale Semiconductor, Inc. * TsiChung Liew (Tsi-Chung.Liew@freescale.com) * * See file CREDITS for list of people who contributed to this @@ -31,6 +31,8 @@ #ifndef fec_h #define fec_h +#include + /* Buffer descriptors used FEC. */ typedef struct cpm_buf_desc { @@ -111,6 +113,9 @@ struct fec_info_s { uint rxIdx; uint txIdx; char *txbuf; +#ifdef CONFIG_ARCH_MMU + char *rxbuf[PKTBUFSRX]; +#endif int initialized; struct fec_info_s *next; }; -- cgit v1.1