Skip to content
Snippets Groups Projects
Commit bae5407d authored by Gerlando Falauto's avatar Gerlando Falauto Committed by Wolfgang Denk
Browse files

powerpc/82xx: move mgcoge, mgcoge3ne defines to ease subsequent merge


Signed-off-by: default avatarGerlando Falauto <gerlando.falauto@keymile.com>
parent 4fdfe376
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#define CONFIG_MGCOGE #define CONFIG_MGCOGE
#define CONFIG_HOSTNAME mgcoge #define CONFIG_HOSTNAME mgcoge
#define CONFIG_KM_82XX #define CONFIG_KM_82XX
#define CONFIG_KM_BOARD_EXTRA_ENV ""
#define CONFIG_SYS_TEXT_BASE 0xFE000000 #define CONFIG_SYS_TEXT_BASE 0xFE000000
...@@ -68,25 +69,24 @@ ...@@ -68,25 +69,24 @@
/* SDRAM initialization values /* SDRAM initialization values
*/ */
#define CONFIG_SYS_OR1 ((~(CONFIG_SYS_GLOBAL_SDRAM_LIMIT-1) & \ #define CONFIG_SYS_OR1 ((~(CONFIG_SYS_GLOBAL_SDRAM_LIMIT-1) & \
ORxS_SDAM_MSK) |\ ORxS_SDAM_MSK) |\
ORxS_BPD_8 |\ ORxS_BPD_8 |\
ORxS_ROWST_PBI0_A7 |\ ORxS_ROWST_PBI0_A7 |\
ORxS_NUMR_13) ORxS_NUMR_13)
#define CONFIG_SYS_PSDMR (PSDMR_SDAM_A14_IS_A5 |\ #define CONFIG_SYS_PSDMR ( \
PSDMR_BSMA_A14_A16 |\ PSDMR_SDAM_A14_IS_A5 |\
PSDMR_SDA10_PBI0_A9 |\ PSDMR_BSMA_A14_A16 |\
PSDMR_RFRC_5_CLK |\ PSDMR_SDA10_PBI0_A9 |\
PSDMR_PRETOACT_2W |\ PSDMR_RFRC_5_CLK |\
PSDMR_ACTTORW_2W |\ PSDMR_PRETOACT_2W |\
PSDMR_LDOTOPRE_1C |\ PSDMR_ACTTORW_2W |\
PSDMR_WRC_1C |\ PSDMR_LDOTOPRE_1C |\
PSDMR_CL_2) PSDMR_WRC_1C |\
PSDMR_CL_2)
#define CONFIG_KM_BOARD_EXTRA_ENV ""
/* include further common stuff for all keymile 82xx boards */ /* include further common stuff for all keymile 82xx boards */
#include "km/km82xx-common.h" #include "km/km82xx-common.h"
......
/* /*
* (C) Copyright 2011 * (C) Copyright 2007-2011
* Heiko Schocher, DENX Software Engineering, hs@denx.de. * Heiko Schocher, DENX Software Engineering, hs@denx.de.
* *
* See file CREDITS for list of people who contributed to this * See file CREDITS for list of people who contributed to this
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
* MA 02111-1307 USA * MA 02111-1307 USA
*/ */
#ifndef __MGCOGE3NE #ifndef __CONFIG_H
#define __MGCOGE3NE #define __CONFIG_H
/* /*
* High Level Configuration Options * High Level Configuration Options
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#define CONFIG_MGCOGE3NE #define CONFIG_MGCOGE3NE
#define CONFIG_HOSTNAME mgcoge3ne #define CONFIG_HOSTNAME mgcoge3ne
#define CONFIG_KM_82XX #define CONFIG_KM_82XX
#define CONFIG_KM_BOARD_EXTRA_ENV "bobcatreset=true\0"
#define CONFIG_SYS_TEXT_BASE 0xFE000000 #define CONFIG_SYS_TEXT_BASE 0xFE000000
...@@ -68,26 +69,25 @@ ...@@ -68,26 +69,25 @@
#define SDRAM_MAX_SIZE 0x10000000 /* max. 256 MB */ #define SDRAM_MAX_SIZE 0x10000000 /* max. 256 MB */
#define CONFIG_SYS_GLOBAL_SDRAM_LIMIT (512 << 20) /* less than 512 MB */ #define CONFIG_SYS_GLOBAL_SDRAM_LIMIT (512 << 20) /* less than 512 MB */
#define CONFIG_SYS_OR1 ((~(CONFIG_SYS_GLOBAL_SDRAM_LIMIT-1) & \ #define CONFIG_SYS_OR1 ((~(CONFIG_SYS_GLOBAL_SDRAM_LIMIT-1) & \
ORxS_SDAM_MSK) |\ ORxS_SDAM_MSK) |\
ORxS_BPD_4 |\ ORxS_BPD_4 |\
ORxS_ROWST_PBI1_A4 |\ ORxS_ROWST_PBI1_A4 |\
ORxS_NUMR_13) ORxS_NUMR_13)
#define CONFIG_SYS_PSDMR (PSDMR_PBI |\ #define CONFIG_SYS_PSDMR ( \
PSDMR_SDAM_A17_IS_A5 |\ PSDMR_PBI |\
PSDMR_BSMA_A13_A15 |\ PSDMR_SDAM_A17_IS_A5 |\
PSDMR_SDA10_PBI1_A6 |\ PSDMR_BSMA_A13_A15 |\
PSDMR_RFRC_5_CLK |\ PSDMR_SDA10_PBI1_A6 |\
PSDMR_PRETOACT_2W |\ PSDMR_RFRC_5_CLK |\
PSDMR_ACTTORW_2W |\ PSDMR_PRETOACT_2W |\
PSDMR_LDOTOPRE_1C |\ PSDMR_ACTTORW_2W |\
PSDMR_WRC_2C |\ PSDMR_LDOTOPRE_1C |\
PSDMR_WRC_2C |\
PSDMR_CL_2) PSDMR_CL_2)
#define CONFIG_KM_BOARD_EXTRA_ENV "bobcatreset=true\0"
/* include further common stuff for all keymile 82xx boards */ /* include further common stuff for all keymile 82xx boards */
#include "km/km82xx-common.h" #include "km/km82xx-common.h"
#endif /* __MGCOGE3NE */ #endif /* __CONFIG_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment