|
|
|
/*
|
|
|
|
* (C) Copyright 2009
|
|
|
|
* Stefan Roese, DENX Software Engineering, sr@denx.de.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <asm/ppc4xx_config.h>
|
|
|
|
|
|
|
|
/* NAND booting versions differ in bytes: 6, 8, 9, 11, 12 */
|
|
|
|
|
|
|
|
struct ppc4xx_config ppc4xx_config_val[] = {
|
|
|
|
{
|
|
|
|
"333-nor", "NOR CPU: 333 PLB: 166 OPB: 83 EBC: 83",
|
|
|
|
{
|
|
|
|
0x8c, 0x12, 0xec, 0x12, 0x98, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"400-133-nor", "NOR CPU: 400 PLB: 133 OPB: 66 EBC: 66",
|
|
|
|
{
|
|
|
|
0x8e, 0x0e, 0xe8, 0x13, 0x98, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"400-200-66-nor", "NOR CPU: 400 PLB: 200 OPB: 66 EBC: 66",
|
|
|
|
{
|
|
|
|
0x8e, 0x0e, 0xe8, 0x12, 0xd8, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"400-nor", "NOR CPU: 400 PLB: 200 OPB: 100 EBC: 100",
|
|
|
|
{
|
|
|
|
0x8e, 0x0e, 0xe8, 0x12, 0x98, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"533-nor", "NOR CPU: 533 PLB: 177 OPB: 88 EBC: 88",
|
|
|
|
{
|
|
|
|
0x8e, 0x43, 0x60, 0x13, 0x98, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"533-nand", "NOR CPU: 533 PLB: 177 OPB: 88 EBC: 88",
|
|
|
|
{
|
|
|
|
0x8e, 0x43, 0x60, 0x13, 0x98, 0x00, 0x0f, 0x00,
|
|
|
|
0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"600-nor", "NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100",
|
|
|
|
{
|
|
|
|
0x8d, 0x02, 0x34, 0x13, 0x98, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"600-nand", "NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100",
|
|
|
|
{
|
|
|
|
0x8d, 0x02, 0x34, 0x13, 0x98, 0x00, 0x0f, 0x00,
|
|
|
|
0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"666-nor", "NOR CPU: 666 PLB: 222 OPB: 111 EBC: 111",
|
|
|
|
{
|
|
|
|
0x8d, 0x03, 0x78, 0x13, 0x98, 0x00, 0x0a, 0x00,
|
|
|
|
0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
|
|
|
|
}
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
int ppc4xx_config_count = ARRAY_SIZE(ppc4xx_config_val);
|