Skip to content
Snippets Groups Projects
Commit 9af019f5 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx

parents 918319c7 514bab66
No related branches found
No related tags found
No related merge requests found
...@@ -34,45 +34,46 @@ struct ppc4xx_config ppc4xx_config_val[] = { ...@@ -34,45 +34,46 @@ struct ppc4xx_config ppc4xx_config_val[] = {
} }
}, },
{ {
"600-nand", "NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100", "800-nor", "NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100",
{ {
0x86, 0x80, 0xce, 0x1f, 0x79, 0x90, 0x01, 0xa0, 0x86, 0x80, 0xba, 0x14, 0x99, 0x80, 0x00, 0xa0,
0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
} }
}, },
{ {
"800-nor", "NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100", "1000-nor", "NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100",
{ {
0x86, 0x80, 0xba, 0x14, 0x99, 0x80, 0x00, 0xa0, 0x86, 0x82, 0x96, 0x19, 0xb9, 0x80, 0x00, 0xa0,
0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
} }
}, },
{ {
"800-nand", "NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100", "1066-nor", "NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88",
{ {
0x86, 0x80, 0xba, 0x14, 0x99, 0x90, 0x01, 0xa0, 0x86, 0x80, 0xb3, 0x01, 0x9d, 0x80, 0x00, 0xa0,
0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00 0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00
} }
}, },
#if !defined(CONFIG_ARCHES)
{ {
"1000-nor", "NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100", "600-nand", "NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100",
{ {
0x86, 0x82, 0x96, 0x19, 0xb9, 0x80, 0x00, 0xa0, 0x86, 0x80, 0xce, 0x1f, 0x79, 0x90, 0x01, 0xa0,
0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
} }
}, },
{ {
"1000-nand", "NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100", "800-nand", "NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100",
{ {
0x86, 0x82, 0x96, 0x19, 0xb9, 0x90, 0x01, 0xa0, 0x86, 0x80, 0xba, 0x14, 0x99, 0x90, 0x01, 0xa0,
0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
} }
}, },
{ {
"1066-nor", "NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88", "1000-nand", "NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100",
{ {
0x86, 0x80, 0xb3, 0x01, 0x9d, 0x80, 0x00, 0xa0, 0x86, 0x82, 0x96, 0x19, 0xb9, 0x90, 0x01, 0xa0,
0x40, 0x08, 0x23, 0x50, 0x0d, 0x05, 0x00, 0x00 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
} }
}, },
{ {
...@@ -82,6 +83,7 @@ struct ppc4xx_config ppc4xx_config_val[] = { ...@@ -82,6 +83,7 @@ struct ppc4xx_config ppc4xx_config_val[] = {
0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00 0xa0, 0xe8, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
} }
}, },
#endif
}; };
int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val); int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val);
...@@ -331,7 +331,11 @@ ...@@ -331,7 +331,11 @@
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10
/* I2C bootstrap EEPROM */ /* I2C bootstrap EEPROM */
#if defined(CONFIG_ARCHES)
#define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x54
#else
#define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x52 #define CONFIG_4xx_CONFIG_I2C_EEPROM_ADDR 0x52
#endif
#define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET 0 #define CONFIG_4xx_CONFIG_I2C_EEPROM_OFFSET 0
#define CONFIG_4xx_CONFIG_BLOCKSIZE 16 #define CONFIG_4xx_CONFIG_BLOCKSIZE 16
......
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