Blame view
include/configs/omap3_zoom1.h
3.9 KB
7379f45a7 OMAP3: Add Zoom1 ... |
1 2 3 4 5 6 7 8 9 |
/* * (C) Copyright 2006-2008 * Texas Instruments. * Richard Woodruff <r-woodruff2@ti.com> * Syed Mohammed Khasim <x0khasim@ti.com> * Nishanth Menon <nm@ti.com> * * Configuration settings for the TI OMAP3430 Zoom MDK board. * |
3765b3e7b Coding Style clea... |
10 |
* SPDX-License-Identifier: GPL-2.0+ |
7379f45a7 OMAP3: Add Zoom1 ... |
11 12 13 14 |
*/ #ifndef __CONFIG_H #define __CONFIG_H |
7379f45a7 OMAP3: Add Zoom1 ... |
15 |
|
161d2d5ea omap3: zoom1: swi... |
16 |
#define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be populated */ |
7379f45a7 OMAP3: Add Zoom1 ... |
17 |
#include <asm/arch/cpu.h> /* get chip and board defs */ |
987ec5851 ARM: OMAP3: Renam... |
18 |
#include <asm/arch/omap.h> |
161d2d5ea omap3: zoom1: swi... |
19 20 21 |
#include <configs/ti_omap3_common.h> /* Remove SPL boot option - we do not support that on LDP yet */ |
161d2d5ea omap3: zoom1: swi... |
22 23 24 |
/* Generic NAND definition conflicts with debug_base */ #undef CONFIG_SYS_NAND_BASE |
7379f45a7 OMAP3: Add Zoom1 ... |
25 |
|
7379f45a7 OMAP3: Add Zoom1 ... |
26 |
#define CONFIG_MISC_INIT_R |
7379f45a7 OMAP3: Add Zoom1 ... |
27 |
#define CONFIG_REVISION_TAG 1 |
9c44ddccb TI: OMAP3: Remove... |
28 |
#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */ |
7379f45a7 OMAP3: Add Zoom1 ... |
29 30 31 32 |
/* * Hardware drivers */ |
05be5a60e OMAP3 zoom1 Add u... |
33 34 35 |
/* USB device configuration */ #define CONFIG_USB_DEVICE 1 #define CONFIG_USB_TTY 1 |
05be5a60e OMAP3 zoom1 Add u... |
36 37 38 39 40 |
/* Change these to suit your needs */ #define CONFIG_USBD_VENDORID 0x0451 #define CONFIG_USBD_PRODUCTID 0x5678 #define CONFIG_USBD_MANUFACTURER "Texas Instruments" #define CONFIG_USBD_PRODUCT_NAME "Zoom1" |
161d2d5ea omap3: zoom1: swi... |
41 |
#if defined(CONFIG_CMD_NAND) |
434f2cfca ARM: omap: move b... |
42 43 |
/* NAND: SPL falcon mode configs */ #ifdef CONFIG_SPL_OS_BOOT |
434f2cfca ARM: omap: move b... |
44 |
#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x280000 |
434f2cfca ARM: omap: move b... |
45 |
#endif |
161d2d5ea omap3: zoom1: swi... |
46 |
#endif |
7379f45a7 OMAP3: Add Zoom1 ... |
47 |
|
7379f45a7 OMAP3: Add Zoom1 ... |
48 |
/* |
cd7826359 TWL4030 Add power... |
49 50 |
* TWL4030 */ |
2c1551301 OMAP3 Move twl403... |
51 |
#define CONFIG_TWL4030_LED 1 |
cd7826359 TWL4030 Add power... |
52 53 |
/* |
7379f45a7 OMAP3: Add Zoom1 ... |
54 55 |
* Board NAND Info. */ |
7379f45a7 OMAP3: Add Zoom1 ... |
56 57 58 59 60 |
#define CONFIG_SYS_NAND_ADDR NAND_BASE /* physical address */ /* to access nand */ #define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */ /* to access nand at */ /* CS0 */ |
7379f45a7 OMAP3: Add Zoom1 ... |
61 62 |
/* Environment information */ |
7379f45a7 OMAP3: Add Zoom1 ... |
63 64 65 |
#define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x82000000\0" \ |
c2e7c7b2d omap3: zoom1: ena... |
66 |
"fdtaddr=0x80f80000\0" \ |
4e8183b7d omap3: zoom1: dis... |
67 |
"bootfile=uImage\0" \ |
c2e7c7b2d omap3: zoom1: ena... |
68 |
"fdtfile=omap3-ldp.dtb\0" \ |
4e8183b7d omap3: zoom1: dis... |
69 70 |
"bootdir=/\0" \ "bootpart=0:1\0" \ |
05be5a60e OMAP3 zoom1 Add u... |
71 |
"usbtty=cdc_acm\0" \ |
ea467c73e omap3: zoom1: fix... |
72 |
"console=ttyO2,115200n8\0" \ |
d6906cb81 OMAP3: Zoom1: Use... |
73 |
"mmcdev=0\0" \ |
7379f45a7 OMAP3: Add Zoom1 ... |
74 75 76 77 78 79 80 81 82 83 |
"videomode=1024x768@60,vxres=1024,vyres=768\0" \ "videospec=omapfb:vram:2M,vram:4M\0" \ "mmcargs=setenv bootargs console=${console} " \ "video=${videospec},mode:${videomode} " \ "root=/dev/mmcblk0p2 rw " \ "rootfstype=ext3 rootwait\0" \ "nandargs=setenv bootargs console=${console} " \ "video=${videospec},mode:${videomode} " \ "root=/dev/mtdblock4 rw " \ "rootfstype=jffs2\0" \ |
d6906cb81 OMAP3: Zoom1: Use... |
84 |
"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \ |
7379f45a7 OMAP3: Add Zoom1 ... |
85 |
"bootscript=echo Running bootscript from mmc ...; " \ |
74de7aefd Add "source" comm... |
86 |
"source ${loadaddr}\0" \ |
4e8183b7d omap3: zoom1: dis... |
87 |
"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ |
c2e7c7b2d omap3: zoom1: ena... |
88 89 |
"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ "loadzimage=setenv bootfile zImage; if run loadimage; then run loadfdt;fi\0"\ |
7379f45a7 OMAP3: Add Zoom1 ... |
90 91 92 |
"mmcboot=echo Booting from mmc ...; " \ "run mmcargs; " \ "bootm ${loadaddr}\0" \ |
c2e7c7b2d omap3: zoom1: ena... |
93 94 95 |
"mmczboot=echo Booting from mmc ...; " \ "run mmcargs; " \ "bootz ${loadaddr} - ${fdtaddr}\0" \ |
7379f45a7 OMAP3: Add Zoom1 ... |
96 97 98 99 100 101 |
"nandboot=echo Booting from nand ...; " \ "run nandargs; " \ "nand read ${loadaddr} 280000 400000; " \ "bootm ${loadaddr}\0" \ #define CONFIG_BOOTCOMMAND \ |
669681104 configs: Fix usag... |
102 |
"mmc dev ${mmcdev}; if mmc rescan; then " \ |
7379f45a7 OMAP3: Add Zoom1 ... |
103 104 105 |
"if run loadbootscript; then " \ "run bootscript; " \ "else " \ |
4e8183b7d omap3: zoom1: dis... |
106 |
"if run loadimage; then " \ |
7379f45a7 OMAP3: Add Zoom1 ... |
107 |
"run mmcboot; " \ |
c2e7c7b2d omap3: zoom1: ena... |
108 109 |
"else if run loadzimage; then " \ "run mmczboot; " \ |
7379f45a7 OMAP3: Add Zoom1 ... |
110 |
"else run nandboot; " \ |
c2e7c7b2d omap3: zoom1: ena... |
111 |
"fi; fi;" \ |
7379f45a7 OMAP3: Add Zoom1 ... |
112 113 |
"fi; " \ "else run nandboot; fi" |
7379f45a7 OMAP3: Add Zoom1 ... |
114 115 116 |
/* * Miscellaneous configurable options */ |
161d2d5ea omap3: zoom1: swi... |
117 118 |
#define CONFIG_SYS_MEMTEST_START (PHYS_SDRAM_1) /* memtest */ #define CONFIG_SYS_MEMTEST_END (PHYS_SDRAM_2 + \ |
7379f45a7 OMAP3: Add Zoom1 ... |
119 |
0x01F00000) /* 31MB */ |
7379f45a7 OMAP3: Add Zoom1 ... |
120 121 122 123 124 |
/*----------------------------------------------------------------------- * FLASH and environment organization */ /* **** PISMO SUPPORT *** */ |
6cbec7b3b ARMV7: OMAP3: Cle... |
125 |
#if defined(CONFIG_CMD_NAND) |
222a3113b ARM: omap: clean ... |
126 |
#define CONFIG_SYS_FLASH_BASE NAND_BASE |
6cbec7b3b ARMV7: OMAP3: Cle... |
127 |
#endif |
7379f45a7 OMAP3: Add Zoom1 ... |
128 129 130 131 |
/* Monitor at start of flash */ #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE #define CONFIG_SYS_ONENAND_BASE ONENAND_MAP |
7379f45a7 OMAP3: Add Zoom1 ... |
132 |
#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */ |
7379f45a7 OMAP3: Add Zoom1 ... |
133 |
|
6cbec7b3b ARMV7: OMAP3: Cle... |
134 |
#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */ |
7672d9d58 include/configs: ... |
135 136 |
#define CONFIG_ENV_OFFSET 0x260000 #define CONFIG_ENV_ADDR 0x260000 |
7379f45a7 OMAP3: Add Zoom1 ... |
137 |
|
7379f45a7 OMAP3: Add Zoom1 ... |
138 |
#endif /* __CONFIG_H */ |