2 * (C) Copyright 2014 Paul Kocialkowski <contact@paulk.fr>
4 * X-Loader Configuation settings for the LG Optimus Black (P970)
6 * See file CREDITS for list of people who contributed to this
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 #define CONFIG_ARMCORTEXA8 1 /* This is an ARM V7 CPU core */
33 #define CONFIG_OMAP 1 /* in a TI OMAP core */
34 #define CONFIG_OMAP36XX 1 /* which is a 36XX */
35 #define CONFIG_OMAP34XX 1 /* which is a 34XX */
36 #define CONFIG_OMAP3430 1 /* which is in a 3430 */
38 #include <asm/arch/cpu.h>
40 #define CONFIG_STACKSIZE (128*1024) /* regular stack */
42 #define CFG_LOADADDR 0x80008000
52 #define CONFIG_MMC_SLOT_MAX 1
57 #define CONFIG_EFI_PARTITION 1
59 #define CONFIG_RAW_U_BOOT_PARTITION 2
61 #define CFG_I2C_SPEED 100000
62 #define CFG_I2C_SLAVE 1
63 #define CONFIG_DRIVER_OMAP34XX_I2C 1
71 #define V_OSCK 26000000
73 #if (V_OSCK > 19200000)
74 #define V_SCLK (V_OSCK >> 1)
79 #define PRCM_CLK_CFG2_400MHZ 1 /* VDD2=1.2v - 200MHz DDR */
80 #define PRCM_PCLK_OPP2 1 /* ARM=381MHz - VDD1=1.20v */
86 #define CFG_SNIPER_DDR 1
97 #define CFG_PBSIZE 256
100 #define CFG_NS16550_SERIAL 1
101 #define CFG_NS16550_REG_SIZE -4
102 #define CFG_NS16550_CLK 48000000
103 #define CFG_NS16550_COM3 OMAP34XX_UART3
105 #define CONFIG_CONS_INDEX 3
106 #define CONFIG_BAUDRATE 115200
110 #endif /* __CONFIG_H */