2 * Copyright (C) 2006 Freescale Semiconductor, Inc.
3 * Dave Liu <daveliu@freescale.com>
5 * Copyright (C) 2007 Logic Product Development, Inc.
6 * Peter Barada <peterb@logicpd.com>
8 * Copyright (C) 2007 MontaVista Software, Inc.
9 * Anton Vorontsov <avorontsov@ru.mvista.com>
12 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
15 * Lukas Roggli, KEYMILE Ltd, lukas.roggli@keymile.com
17 * (C) Copyright 2010-2011
18 * Thomas Reufer, KEYMILE Ltd, thomas.reufer@keymile.com
20 * This program is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU General Public License as
22 * published by the Free Software Foundation; either version 2 of
23 * the License, or (at your option) any later version.
30 * High Level Configuration Options
32 #define CONFIG_KMSUPX5 1 /* Keymile PBEC8321 board specific */
33 #define CONFIG_HOSTNAME supx5
34 #define CONFIG_KM_BOARD_NAME "supx5"
36 #define CONFIG_SYS_TEXT_BASE 0xF0000000
38 /* include common defines/options for all 8321 Keymile boards */
39 #include "km/km8321-common.h"
42 * Init Local Bus Memory Controller:
44 * Bank Bus Machine PortSz Size Device
45 * ---- --- ------- ------ ----- ------
46 * 2 Local GPCM 8 bit 256MB LPXF
52 * LPXF on the local bus CS2
53 * Window base at flash base
57 #define CONFIG_SYS_LPXF_BASE 0xA0000000 /* LPXF */
58 #define CONFIG_SYS_LPXF_SIZE 256 /* Megabytes */
60 #define CONFIG_SYS_LBLAWBAR2_PRELIM CONFIG_SYS_LPXF_BASE
61 #define CONFIG_SYS_LBLAWAR2_PRELIM (LBLAWAR_EN | LBLAWAR_256MB)
63 #define CONFIG_SYS_BR2_PRELIM (CONFIG_SYS_LPXF_BASE | \
68 #define CONFIG_SYS_OR2_PRELIM (MEG_TO_AM(CONFIG_SYS_LPXF_SIZE) | \
73 OR_GPCM_EHTR_CLEAR | \
76 /* LPXF: icache cacheable, but dcache-inhibit and guarded */
77 #define CONFIG_SYS_IBAT5L (CONFIG_SYS_LPXF_BASE | BATL_PP_RW | \
79 #define CONFIG_SYS_IBAT5U (CONFIG_SYS_LPXF_BASE | BATU_BL_256M | \
81 #define CONFIG_SYS_DBAT5L (CONFIG_SYS_LPXF_BASE | BATL_PP_RW | \
82 BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE)
83 #define CONFIG_SYS_DBAT5U CONFIG_SYS_IBAT5U
86 #define CONFIG_SYS_IBAT6L (0)
87 #define CONFIG_SYS_IBAT6U (0)
88 #define CONFIG_SYS_DBAT6L CONFIG_SYS_IBAT6L
89 #define CONFIG_SYS_DBAT6U CONFIG_SYS_IBAT6U
91 #endif /* __CONFIG_H */