Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 8541e8ab187be96f6b33f2d3a3424036544ae613 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 20:33:18 +0530
- Subject: [PATCH 01/26] omap3evm: Reorder related config options
- This patch brings related config options together.
- Most config options won't be evaluated for numerical
- value, but they are being set to 1. This patch also
- removes this assignment.
- Some formatting changes were also done for consistent
- look-n-feel after the movement.
- The patch doesn't make/include any other functional
- change.
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 17 ++++++-----------
- 1 files changed, 6 insertions(+), 11 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index ea51216..2887205 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -41,11 +41,15 @@
- #define CONFIG_OMAP3430 1 /* which is in a 3430 */
- #define CONFIG_OMAP3_EVM 1 /* working with EVM */
- -#define CONFIG_SDRC /* The chip has SDRC controller */
- +#define CONFIG_SDRC /* The chip has SDRC controller */
- +#define CONFIG_OMAP3_MICRON_DDR
- +#define CONFIG_TWL4030_POWER
- -#include <asm/arch/cpu.h> /* get chip and board defs */
- +#include <asm/arch/cpu.h> /* get chip and board defs */
- #include <asm/arch/omap3.h>
- +#undef CONFIG_USE_IRQ /* no support for IRQs */
- +
- /*
- * Display CPU and Board information
- */
- @@ -56,7 +60,6 @@
- #define V_OSCK 26000000 /* Clock output from T2 */
- #define V_SCLK (V_OSCK >> 1)
- -#undef CONFIG_USE_IRQ /* no support for IRQs */
- #define CONFIG_MISC_INIT_R
- #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
- @@ -101,9 +104,6 @@
- #define CONFIG_OMAP_HSMMC 1
- #define CONFIG_DOS_PARTITION 1
- -/* DDR - I use Micron DDR */
- -#define CONFIG_OMAP3_MICRON_DDR 1
- -
- /* USB
- * Enable CONFIG_MUSB_HCD for Host functionalities MSC, keyboard
- * Enable CONFIG_MUSB_UDD for Device functionalities.
- @@ -169,11 +169,6 @@
- #define CONFIG_DRIVER_OMAP34XX_I2C 1
- /*
- - * TWL4030
- - */
- -#define CONFIG_TWL4030_POWER 1
- -
- -/*
- * Board NAND Info.
- */
- #define CONFIG_SYS_NAND_ADDR NAND_BASE /* physical address */
- --
- 1.7.0.4
- From 181a2c59ecfd6111db9cb61464d5b87be8999864 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:13:21 +0530
- Subject: [PATCH 02/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 10 ++++++----
- 1 files changed, 6 insertions(+), 4 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 2887205..f4761de 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -51,15 +51,17 @@
- #undef CONFIG_USE_IRQ /* no support for IRQs */
- /*
- + * Clock related definitions
- + */
- +#define V_OSCK 26000000 /* Clock output from T2 */
- +#define V_SCLK (V_OSCK >> 1)
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO 1
- #define CONFIG_DISPLAY_BOARDINFO 1
- -/* Clock Defines */
- -#define V_OSCK 26000000 /* Clock output from T2 */
- -#define V_SCLK (V_OSCK >> 1)
- -
- #define CONFIG_MISC_INIT_R
- #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
- --
- 1.7.0.4
- From 1b6c2a14941a5f572ea6a72c789d9fe9cd8fb2f3 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:14:11 +0530
- Subject: [PATCH 03/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 18 +++++++++---------
- 1 files changed, 9 insertions(+), 9 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index f4761de..79ce1cf 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -57,6 +57,15 @@
- #define V_SCLK (V_OSCK >> 1)
- /*
- + * OMAP3 has 12 GP timers, they can be driven by the system clock
- + * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).
- + * This rate is divided by a local divisor.
- + */
- +#define CONFIG_SYS_TIMERBASE OMAP34XX_GPT2
- +#define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
- +#define CONFIG_SYS_HZ 1000
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO 1
- @@ -255,15 +264,6 @@
- #define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0) /* default load */
- /* address */
- -/*
- - * OMAP3 has 12 GP timers, they can be driven by the system clock
- - * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).
- - * This rate is divided by a local divisor.
- - */
- -#define CONFIG_SYS_TIMERBASE OMAP34XX_GPT2
- -#define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
- -#define CONFIG_SYS_HZ 1000
- -
- /*-----------------------------------------------------------------------
- * Stack sizes
- *
- --
- 1.7.0.4
- From 5503e7f05bac5a6dc257c6e7f9b3d5f953b11c32 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:14:58 +0530
- Subject: [PATCH 04/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 12 ++++++------
- 1 files changed, 6 insertions(+), 6 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 79ce1cf..af8fb26 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -66,6 +66,12 @@
- #define CONFIG_SYS_HZ 1000
- /*
- + * Size of malloc() pool
- + */
- +#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
- + /* Sector */
- +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO 1
- @@ -79,12 +85,6 @@
- #define CONFIG_REVISION_TAG 1
- /*
- - * Size of malloc() pool
- - */
- -#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
- - /* Sector */
- -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
- -/*
- * Hardware drivers
- */
- --
- 1.7.0.4
- From f10e7cfd983711b34ab259ef9c6516ae1e858305 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:16:13 +0530
- Subject: [PATCH 05/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 23 ++++++++++++-----------
- 1 files changed, 12 insertions(+), 11 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index af8fb26..2e1a647 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -71,6 +71,18 @@
- #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
- /* Sector */
- #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
- +
- +/*
- + * Stack sizes
- + *
- + * The stack sizes are set up in start.S using the settings below
- + */
- +#define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
- +#ifdef CONFIG_USE_IRQ
- +#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
- +#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
- +#endif
- +
- /*
- * Display CPU and Board information
- */
- @@ -265,17 +277,6 @@
- /* address */
- /*-----------------------------------------------------------------------
- - * Stack sizes
- - *
- - * The stack sizes are set up in start.S using the settings below
- - */
- -#define CONFIG_STACKSIZE (128 << 10) /* regular stack 128 KiB */
- -#ifdef CONFIG_USE_IRQ
- -#define CONFIG_STACKSIZE_IRQ (4 << 10) /* IRQ stack 4 KiB */
- -#define CONFIG_STACKSIZE_FIQ (4 << 10) /* FIQ stack 4 KiB */
- -#endif
- -
- -/*-----------------------------------------------------------------------
- * Physical Memory Map
- */
- #define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be populated */
- --
- 1.7.0.4
- From 9452e5fdd0a73b71a2b88e006bd9661769a3fe70 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:17:19 +0530
- Subject: [PATCH 06/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 18 ++++++++++--------
- 1 files changed, 10 insertions(+), 8 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 2e1a647..4f78a92 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -84,6 +84,16 @@
- #endif
- /*
- + * Physical Memory Map
- + * Note 1: CS1 may or may not be populated
- + * Note 2: SDRAM size is expected to be at least 32MB
- + */
- +#define CONFIG_NR_DRAM_BANKS 2
- +#define PHYS_SDRAM_1 OMAP34XX_SDRC_CS0
- +#define PHYS_SDRAM_1_SIZE (32 << 20)
- +#define PHYS_SDRAM_2 OMAP34XX_SDRC_CS1
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO 1
- @@ -276,14 +286,6 @@
- #define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0) /* default load */
- /* address */
- -/*-----------------------------------------------------------------------
- - * Physical Memory Map
- - */
- -#define CONFIG_NR_DRAM_BANKS 2 /* CS1 may or may not be populated */
- -#define PHYS_SDRAM_1 OMAP34XX_SDRC_CS0
- -#define PHYS_SDRAM_1_SIZE (32 << 20) /* at least 32 MiB */
- -#define PHYS_SDRAM_2 OMAP34XX_SDRC_CS1
- -
- /* SDRAM Bank Allocation method */
- #define SDRC_R_B_C 1
- --
- 1.7.0.4
- From d0364733a5f4add19b49f99ed372ef72b213dfbf Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:19:39 +0530
- Subject: [PATCH 07/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 18 ++++++++++--------
- 1 files changed, 10 insertions(+), 8 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 4f78a92..644f0b9 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -93,6 +93,16 @@
- #define PHYS_SDRAM_1_SIZE (32 << 20)
- #define PHYS_SDRAM_2 OMAP34XX_SDRC_CS1
- +/* Limits for memtest */
- +#define CONFIG_SYS_MEMTEST_START (OMAP34XX_SDRC_CS0)
- +#define CONFIG_SYS_MEMTEST_END (OMAP34XX_SDRC_CS0 + \
- + 0x01F00000) /* 31MB */
- +
- +/*
- + * SDRAM Bank Allocation method
- + */
- +#define SDRC_R_B_C 1
- +
- /*
- * Display CPU and Board information
- */
- @@ -278,17 +288,9 @@
- /* args */
- /* Boot Argument Buffer Size */
- #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
- -/* memtest works on */
- -#define CONFIG_SYS_MEMTEST_START (OMAP34XX_SDRC_CS0)
- -#define CONFIG_SYS_MEMTEST_END (OMAP34XX_SDRC_CS0 + \
- - 0x01F00000) /* 31MB */
- #define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0) /* default load */
- /* address */
- -
- -/* SDRAM Bank Allocation method */
- -#define SDRC_R_B_C 1
- -
- /*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
- --
- 1.7.0.4
- From fc9624a55c3e88997977ebc98a0aba5b28ab88c9 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Thu, 22 Sep 2011 21:18:04 +0530
- Subject: [PATCH 08/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 8 +++-----
- 1 files changed, 3 insertions(+), 5 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 644f0b9..0563b3a 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -93,17 +93,15 @@
- #define PHYS_SDRAM_1_SIZE (32 << 20)
- #define PHYS_SDRAM_2 OMAP34XX_SDRC_CS1
- +/* SDRAM Bank Allocation method */
- +#define SDRC_R_B_C
- +
- /* Limits for memtest */
- #define CONFIG_SYS_MEMTEST_START (OMAP34XX_SDRC_CS0)
- #define CONFIG_SYS_MEMTEST_END (OMAP34XX_SDRC_CS0 + \
- 0x01F00000) /* 31MB */
- /*
- - * SDRAM Bank Allocation method
- - */
- -#define SDRC_R_B_C 1
- -
- -/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO 1
- --
- 1.7.0.4
- From 72ee8d3417f2a997e937f52326344ef28142aae0 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:20:24 +0530
- Subject: [PATCH 09/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 5 +++--
- 1 files changed, 3 insertions(+), 2 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 0563b3a..c94e7e9 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -101,6 +101,9 @@
- #define CONFIG_SYS_MEMTEST_END (OMAP34XX_SDRC_CS0 + \
- 0x01F00000) /* 31MB */
- +/* Default load address */
- +#define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0)
- +
- /*
- * Display CPU and Board information
- */
- @@ -287,8 +290,6 @@
- /* Boot Argument Buffer Size */
- #define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
- -#define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0) /* default load */
- - /* address */
- /*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
- --
- 1.7.0.4
- From e87c4ea58ebd4e44598d8ef987901ae4fb58d009 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:24:08 +0530
- Subject: [PATCH 10/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 38 ++++++++++++++++++++------------------
- 1 files changed, 20 insertions(+), 18 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index c94e7e9..228afbf 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -104,21 +104,9 @@
- /* Default load address */
- #define CONFIG_SYS_LOAD_ADDR (OMAP34XX_SDRC_CS0)
- -/*
- - * Display CPU and Board information
- - */
- -#define CONFIG_DISPLAY_CPUINFO 1
- -#define CONFIG_DISPLAY_BOARDINFO 1
- -
- -#define CONFIG_MISC_INIT_R
- -
- -#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
- -#define CONFIG_SETUP_MEMORY_TAGS 1
- -#define CONFIG_INITRD_TAG 1
- -#define CONFIG_REVISION_TAG 1
- -
- -/*
- +/* -----------------------------------------------------------------------------
- * Hardware drivers
- + * -----------------------------------------------------------------------------
- */
- /*
- @@ -135,14 +123,28 @@
- * select serial console configuration
- */
- #define CONFIG_CONS_INDEX 1
- -#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1
- #define CONFIG_SERIAL1 1 /* UART1 on OMAP3 EVM */
- -
- -/* allow to overwrite serial and ethaddr */
- -#define CONFIG_ENV_OVERWRITE
- +#define CONFIG_SYS_NS16550_COM1 OMAP34XX_UART1
- #define CONFIG_BAUDRATE 115200
- #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
- 115200}
- +
- +/*
- + * Display CPU and Board information
- + */
- +#define CONFIG_DISPLAY_CPUINFO
- +#define CONFIG_DISPLAY_BOARDINFO
- +
- +#define CONFIG_MISC_INIT_R
- +
- +#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
- +#define CONFIG_SETUP_MEMORY_TAGS
- +#define CONFIG_INITRD_TAG
- +#define CONFIG_REVISION_TAG
- +
- +
- +/* allow to overwrite serial and ethaddr */
- +#define CONFIG_ENV_OVERWRITE
- #define CONFIG_MMC 1
- #define CONFIG_GENERIC_MMC 1
- #define CONFIG_OMAP_HSMMC 1
- --
- 1.7.0.4
- From 0218d68f185f45c91093e1d49bdce8cc9e8e1a3b Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:26:18 +0530
- Subject: [PATCH 11/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 38 ++++++++++++++++++++++++++------------
- 1 files changed, 26 insertions(+), 12 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 228afbf..99e978b 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -130,6 +130,32 @@
- 115200}
- /*
- + * Size of Console IO Buffer
- + */
- +#define CONFIG_SYS_CBSIZE 512
- +
- +/*
- + * Size of print buffer
- + */
- +#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
- + sizeof(CONFIG_SYS_PROMPT) + 16)
- +
- +/*
- + * Size of bootarg buffer
- + */
- +#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
- +
- +/*
- + * I2C
- + */
- +#define CONFIG_HARD_I2C
- +#define CONFIG_SYS_I2C_SPEED 100000
- +#define CONFIG_SYS_I2C_SLAVE 1
- +#define CONFIG_SYS_I2C_BUS 0
- +#define CONFIG_SYS_I2C_BUS_SELECT 1
- +#define CONFIG_DRIVER_OMAP34XX_I2C 1
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO
- @@ -207,12 +233,6 @@
- #undef CONFIG_CMD_IMLS /* List all found images */
- #define CONFIG_SYS_NO_FLASH
- -#define CONFIG_HARD_I2C 1
- -#define CONFIG_SYS_I2C_SPEED 100000
- -#define CONFIG_SYS_I2C_SLAVE 1
- -#define CONFIG_SYS_I2C_BUS 0
- -#define CONFIG_SYS_I2C_BUS_SELECT 1
- -#define CONFIG_DRIVER_OMAP34XX_I2C 1
- /*
- * Board NAND Info.
- @@ -283,14 +303,8 @@
- #define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */
- #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
- #define CONFIG_SYS_PROMPT "OMAP3_EVM # "
- -#define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */
- -/* Print Buffer Size */
- -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
- - sizeof(CONFIG_SYS_PROMPT) + 16)
- #define CONFIG_SYS_MAXARGS 16 /* max number of command */
- /* args */
- -/* Boot Argument Buffer Size */
- -#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
- /*-----------------------------------------------------------------------
- * FLASH and environment organization
- --
- 1.7.0.4
- From 3315f228eb9089efa45979243f6d982d7c8a7e61 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Wed, 22 Jun 2011 21:34:25 +0530
- Subject: [PATCH 12/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 47 ++++++++++++++++++++++---------------------
- 1 files changed, 24 insertions(+), 23 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 99e978b..9f8103d 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -156,6 +156,30 @@
- #define CONFIG_DRIVER_OMAP34XX_I2C 1
- /*
- + * PISMO support
- + */
- +#define PISMO1_NAND_SIZE GPMC_SIZE_128M
- +#define PISMO1_ONEN_SIZE GPMC_SIZE_128M
- +
- +#if defined(CONFIG_CMD_NAND)
- +#define CONFIG_SYS_FLASH_BASE PISMO1_NAND_BASE
- +#elif defined(CONFIG_CMD_ONENAND)
- +#define CONFIG_SYS_FLASH_BASE PISMO1_ONEN_BASE
- +#endif
- +
- +/* Monitor at start of flash - Reserve 2 sectors */
- +#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
- +#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
- +
- +#define CONFIG_SYS_MONITOR_LEN (256 << 10)
- +
- +/* Start location & size of environment */
- +#define ONENAND_ENV_OFFSET 0x260000
- +#define SMNAND_ENV_OFFSET 0x260000
- +
- +#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO
- @@ -309,28 +333,6 @@
- /*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
- -
- -/* **** PISMO SUPPORT *** */
- -
- -/* Configure the PISMO */
- -#define PISMO1_NAND_SIZE GPMC_SIZE_128M
- -#define PISMO1_ONEN_SIZE GPMC_SIZE_128M
- -
- -#define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Reserve 2 sectors */
- -
- -#if defined(CONFIG_CMD_NAND)
- -#define CONFIG_SYS_FLASH_BASE PISMO1_NAND_BASE
- -#elif defined(CONFIG_CMD_ONENAND)
- -#define CONFIG_SYS_FLASH_BASE PISMO1_ONEN_BASE
- -#endif
- -
- -/* Monitor at start of flash */
- -#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
- -#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
- -
- -#define ONENAND_ENV_OFFSET 0x260000 /* environment starts here */
- -#define SMNAND_ENV_OFFSET 0x260000 /* environment starts here */
- -
- #if defined(CONFIG_CMD_NAND)
- #define CONFIG_NAND_OMAP_GPMC
- #define GPMC_NAND_ECC_LP_x16_LAYOUT 1
- @@ -341,7 +343,6 @@
- #define CONFIG_ENV_OFFSET ONENAND_ENV_OFFSET
- #endif
- -#define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */
- #define CONFIG_ENV_ADDR CONFIG_ENV_OFFSET
- /*
- --
- 1.7.0.4
- From c6de16c1da3cacca5feb888ecd4922e8bc379102 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Wed, 22 Jun 2011 23:51:23 +0530
- Subject: [PATCH 13/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 54 +++++++++++++++++++++++++++----------------
- 1 files changed, 34 insertions(+), 20 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 9f8103d..f10ff05 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -180,6 +180,40 @@
- #define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */
- /*
- + * NAND
- + */
- +/* Physical address to access NAND */
- +#define CONFIG_SYS_NAND_ADDR NAND_BASE
- +
- +/* Physical address to access NAND at CS0 */
- +#define CONFIG_SYS_NAND_BASE NAND_BASE
- +
- +/* Max number of NAND devices */
- +#define CONFIG_SYS_MAX_NAND_DEVICE 1
- +
- +/* Timeout values (in ticks) */
- +#define CONFIG_SYS_FLASH_ERASE_TOUT (100 * CONFIG_SYS_HZ)
- +#define CONFIG_SYS_FLASH_WRITE_TOUT (100 * CONFIG_SYS_HZ)
- +
- +/* Flash banks JFFS2 should use */
- +#define CONFIG_SYS_MAX_MTD_BANKS (CONFIG_SYS_MAX_FLASH_BANKS + \
- + CONFIG_SYS_MAX_NAND_DEVICE)
- +
- +#define CONFIG_SYS_JFFS2_MEM_NAND
- +#define CONFIG_SYS_JFFS2_FIRST_BANK CONFIG_SYS_MAX_FLASH_BANKS
- +#define CONFIG_SYS_JFFS2_NUM_BANKS 1
- +
- +#define CONFIG_JFFS2_NAND
- +/* nand device jffs2 lives on */
- +#define CONFIG_JFFS2_DEV "nand0"
- +/* Start of jffs2 partition */
- +#define CONFIG_JFFS2_PART_OFFSET 0x680000
- +/* Size of jffs2 partition */
- +#define CONFIG_JFFS2_PART_SIZE 0xf980000
- +
- +#define CONFIG_SYS_NO_FLASH
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO
- @@ -256,26 +290,6 @@
- #undef CONFIG_CMD_IMI /* iminfo */
- #undef CONFIG_CMD_IMLS /* List all found images */
- -#define CONFIG_SYS_NO_FLASH
- -
- -/*
- - * Board NAND Info.
- - */
- -#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 */
- -
- -#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of */
- - /* NAND devices */
- -#define CONFIG_JFFS2_NAND
- -/* nand device jffs2 lives on */
- -#define CONFIG_JFFS2_DEV "nand0"
- -/* start of jffs2 partition */
- -#define CONFIG_JFFS2_PART_OFFSET 0x680000
- -#define CONFIG_JFFS2_PART_SIZE 0xf980000 /* sz of jffs2 part */
- -
- /* Environment information */
- #define CONFIG_BOOTDELAY 10
- --
- 1.7.0.4
- From fcb5732c3ab4f2bd83762a76bd8c8c962d6f3cee Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:33:44 +0530
- Subject: [PATCH 14/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 12 ++++++++----
- 1 files changed, 8 insertions(+), 4 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index f10ff05..4ecad9f 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -214,6 +214,14 @@
- #define CONFIG_SYS_NO_FLASH
- /*
- + * MMC
- + */
- +#define CONFIG_MMC
- +#define CONFIG_GENERIC_MMC
- +#define CONFIG_OMAP_HSMMC
- +#define CONFIG_DOS_PARTITION
- +
- +/*
- * Display CPU and Board information
- */
- #define CONFIG_DISPLAY_CPUINFO
- @@ -229,10 +237,6 @@
- /* allow to overwrite serial and ethaddr */
- #define CONFIG_ENV_OVERWRITE
- -#define CONFIG_MMC 1
- -#define CONFIG_GENERIC_MMC 1
- -#define CONFIG_OMAP_HSMMC 1
- -#define CONFIG_DOS_PARTITION 1
- /* USB
- * Enable CONFIG_MUSB_HCD for Host functionalities MSC, keyboard
- --
- 1.7.0.4
- From 4c8f967470a5081ab04f5751a39e601678d0efe2 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:35:34 +0530
- Subject: [PATCH 15/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 36 ++++++++++++++++++------------------
- 1 files changed, 18 insertions(+), 18 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 4ecad9f..776e25b 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -221,24 +221,8 @@
- #define CONFIG_OMAP_HSMMC
- #define CONFIG_DOS_PARTITION
- -/*
- - * Display CPU and Board information
- - */
- -#define CONFIG_DISPLAY_CPUINFO
- -#define CONFIG_DISPLAY_BOARDINFO
- -
- -#define CONFIG_MISC_INIT_R
- -
- -#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
- -#define CONFIG_SETUP_MEMORY_TAGS
- -#define CONFIG_INITRD_TAG
- -#define CONFIG_REVISION_TAG
- -
- -
- -/* allow to overwrite serial and ethaddr */
- -#define CONFIG_ENV_OVERWRITE
- -
- /* USB
- + *
- * Enable CONFIG_MUSB_HCD for Host functionalities MSC, keyboard
- * Enable CONFIG_MUSB_UDD for Device functionalities.
- */
- @@ -257,7 +241,7 @@
- #ifdef CONFIG_USB_KEYBOARD
- #define CONFIG_SYS_USB_EVENT_POLL
- -#define CONFIG_PREBOOT "usb start"
- +#define CONFIG_PREBOOT "usb start"
- #endif /* CONFIG_USB_KEYBOARD */
- #endif /* CONFIG_MUSB_HCD */
- @@ -276,6 +260,22 @@
- #endif /* CONFIG_USB_OMAP3 */
- +/*
- + * Display CPU and Board information
- + */
- +#define CONFIG_DISPLAY_CPUINFO
- +#define CONFIG_DISPLAY_BOARDINFO
- +
- +#define CONFIG_MISC_INIT_R
- +
- +#define CONFIG_CMDLINE_TAG /* enable passing of ATAGs */
- +#define CONFIG_SETUP_MEMORY_TAGS
- +#define CONFIG_INITRD_TAG
- +#define CONFIG_REVISION_TAG
- +
- +/* allow to overwrite serial and ethaddr */
- +#define CONFIG_ENV_OVERWRITE
- +
- /* commands to include */
- #include <config_cmd_default.h>
- --
- 1.7.0.4
- From 9feea605e4354a7f7fb175ba9b1d3bd3d6d446b6 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:39:34 +0530
- Subject: [PATCH 16/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 30 +++++++++++++++---------------
- 1 files changed, 15 insertions(+), 15 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 776e25b..9fff856 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -260,9 +260,17 @@
- #endif /* CONFIG_USB_OMAP3 */
- -/*
- - * Display CPU and Board information
- +/* ----------------------------------------------------------------------------
- + * U-boot features
- + * ----------------------------------------------------------------------------
- */
- +#define CONFIG_SYS_LONGHELP
- +#define CONFIG_SYS_HUSH_PARSER
- +#define CONFIG_SYS_PROMPT "OMAP3_EVM # "
- +#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
- +#define CONFIG_SYS_MAXARGS 16 /* max args for a command */
- +
- +/* Display CPU and Board information */
- #define CONFIG_DISPLAY_CPUINFO
- #define CONFIG_DISPLAY_BOARDINFO
- @@ -273,10 +281,13 @@
- #define CONFIG_INITRD_TAG
- #define CONFIG_REVISION_TAG
- -/* allow to overwrite serial and ethaddr */
- +/* Allow to overwrite serial and ethaddr */
- #define CONFIG_ENV_OVERWRITE
- -/* commands to include */
- +/* Add auto-completion support */
- +#define CONFIG_AUTO_COMPLETE
- +
- +/* Default commands to include */
- #include <config_cmd_default.h>
- #define CONFIG_CMD_EXT2 /* EXT2 Support */
- @@ -337,17 +348,6 @@
- "fi; " \
- "else run nandboot; fi"
- -#define CONFIG_AUTO_COMPLETE 1
- -/*
- - * Miscellaneous configurable options
- - */
- -#define CONFIG_SYS_LONGHELP /* undef to save memory */
- -#define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */
- -#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
- -#define CONFIG_SYS_PROMPT "OMAP3_EVM # "
- -#define CONFIG_SYS_MAXARGS 16 /* max number of command */
- - /* args */
- -
- /*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
- --
- 1.7.0.4
- From 6e1dca33100ee2bbbc5d833d489805ab37fc5049 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:42:33 +0530
- Subject: [PATCH 17/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 26 ++++++++++----------------
- 1 files changed, 10 insertions(+), 16 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 9fff856..82e9702 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -130,22 +130,6 @@
- 115200}
- /*
- - * Size of Console IO Buffer
- - */
- -#define CONFIG_SYS_CBSIZE 512
- -
- -/*
- - * Size of print buffer
- - */
- -#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
- - sizeof(CONFIG_SYS_PROMPT) + 16)
- -
- -/*
- - * Size of bootarg buffer
- - */
- -#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
- -
- -/*
- * I2C
- */
- #define CONFIG_HARD_I2C
- @@ -287,6 +271,16 @@
- /* Add auto-completion support */
- #define CONFIG_AUTO_COMPLETE
- +/* Size of Console IO buffer */
- +#define CONFIG_SYS_CBSIZE 512
- +
- +/* Size of print buffer */
- +#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
- + sizeof(CONFIG_SYS_PROMPT) + 16)
- +
- +/* Size of bootarg buffer */
- +#define CONFIG_SYS_BARGSIZE (CONFIG_SYS_CBSIZE)
- +
- /* Default commands to include */
- #include <config_cmd_default.h>
- --
- 1.7.0.4
- From 2d21de12c14e42ba5cd3503ffe2897f95f8c63e7 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Thu, 23 Jun 2011 00:19:51 +0530
- Subject: [PATCH 18/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 31 ++++++++++++++++---------------
- 1 files changed, 16 insertions(+), 15 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 82e9702..c3ea4cf 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -299,6 +299,22 @@
- #undef CONFIG_CMD_IMI /* iminfo */
- #undef CONFIG_CMD_IMLS /* List all found images */
- +/*
- + * Additional definitions that depend on chosen commands
- + */
- +/* NAND */
- +#if defined(CONFIG_CMD_NAND)
- +#define CONFIG_NAND_OMAP_GPMC
- +#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
- +#define CONFIG_ENV_IS_IN_NAND
- +#define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
- +#elif defined(CONFIG_CMD_ONENAND)
- +#define CONFIG_ENV_IS_IN_ONENAND 1
- +#define CONFIG_ENV_OFFSET ONENAND_ENV_OFFSET
- +#endif
- +
- +#define CONFIG_ENV_ADDR CONFIG_ENV_OFFSET
- +
- /* Environment information */
- #define CONFIG_BOOTDELAY 10
- @@ -342,21 +358,6 @@
- "fi; " \
- "else run nandboot; fi"
- -/*-----------------------------------------------------------------------
- - * FLASH and environment organization
- - */
- -#if defined(CONFIG_CMD_NAND)
- -#define CONFIG_NAND_OMAP_GPMC
- -#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
- -#define CONFIG_ENV_IS_IN_NAND
- -#define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
- -#elif defined(CONFIG_CMD_ONENAND)
- -#define CONFIG_ENV_IS_IN_ONENAND 1
- -#define CONFIG_ENV_OFFSET ONENAND_ENV_OFFSET
- -#endif
- -
- -#define CONFIG_ENV_ADDR CONFIG_ENV_OFFSET
- -
- /*
- * Support for relocation
- */
- --
- 1.7.0.4
- From 3c404891b92f5717953c3e3f4cd1aed8d8d7a561 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Thu, 23 Jun 2011 00:24:56 +0530
- Subject: [PATCH 19/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 38 ++++++++++++++++----------------------
- 1 files changed, 16 insertions(+), 22 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index c3ea4cf..7ab35f6 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -315,6 +315,22 @@
- #define CONFIG_ENV_ADDR CONFIG_ENV_OFFSET
- +/* Ethernet (SMSC9115 from SMSC9118 family) */
- +#if defined(CONFIG_CMD_NET)
- +
- +#define CONFIG_NET_MULTI
- +#define CONFIG_SMC911X
- +#define CONFIG_SMC911X_32_BIT
- +#define CONFIG_SMC911X_BASE 0x2C000000
- +
- +/* BOOTP fields */
- +#define CONFIG_BOOTP_SUBNETMASK 0x00000001
- +#define CONFIG_BOOTP_GATEWAY 0x00000002
- +#define CONFIG_BOOTP_HOSTNAME 0x00000004
- +#define CONFIG_BOOTP_BOOTPATH 0x00000010
- +
- +#endif /* CONFIG_CMD_NET */
- +
- /* Environment information */
- #define CONFIG_BOOTDELAY 10
- @@ -373,26 +389,4 @@
- */
- /* #define CONFIG_STATIC_BOARD_REV OMAP3EVM_BOARD_GEN_2 */
- -/*----------------------------------------------------------------------------
- - * SMSC9115 Ethernet from SMSC9118 family
- - *----------------------------------------------------------------------------
- - */
- -#if defined(CONFIG_CMD_NET)
- -
- -#define CONFIG_NET_MULTI
- -#define CONFIG_SMC911X
- -#define CONFIG_SMC911X_32_BIT
- -#define CONFIG_SMC911X_BASE 0x2C000000
- -
- -#endif /* (CONFIG_CMD_NET) */
- -
- -/*
- - * BOOTP fields
- - */
- -
- -#define CONFIG_BOOTP_SUBNETMASK 0x00000001
- -#define CONFIG_BOOTP_GATEWAY 0x00000002
- -#define CONFIG_BOOTP_HOSTNAME 0x00000004
- -#define CONFIG_BOOTP_BOOTPATH 0x00000010
- -
- #endif /* __CONFIG_H */
- --
- 1.7.0.4
- From 5a5bd5927f412a595195d8cd8d9ca4dc48aaf373 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Mon, 28 Mar 2011 21:54:10 +0530
- Subject: [PATCH 20/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 46 ++++++++++++++++++++++++------------------
- 1 files changed, 26 insertions(+), 20 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 7ab35f6..6b47151 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -45,7 +45,10 @@
- #define CONFIG_OMAP3_MICRON_DDR
- #define CONFIG_TWL4030_POWER
- -#include <asm/arch/cpu.h> /* get chip and board defs */
- +/*
- + * Get cpu and chip specific definitions
- + */
- +#include <asm/arch/cpu.h>
- #include <asm/arch/omap3.h>
- #undef CONFIG_USE_IRQ /* no support for IRQs */
- @@ -195,8 +198,6 @@
- /* Size of jffs2 partition */
- #define CONFIG_JFFS2_PART_SIZE 0xf980000
- -#define CONFIG_SYS_NO_FLASH
- -
- /*
- * MMC
- */
- @@ -235,6 +236,7 @@
- #define CONFIG_USB_DEVICE 1
- #define CONFIG_USB_TTY 1
- #define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
- +
- /* Change these to suit your needs */
- #define CONFIG_USBD_VENDORID 0x0451
- #define CONFIG_USBD_PRODUCTID 0x5678
- @@ -331,9 +333,28 @@
- #endif /* CONFIG_CMD_NET */
- -/* Environment information */
- -#define CONFIG_BOOTDELAY 10
- +/* Support for relocation */
- +#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
- +#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800
- +#define CONFIG_SYS_INIT_RAM_SIZE 0x800
- +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
- + CONFIG_SYS_INIT_RAM_SIZE - \
- + GENERATED_GBL_DATA_SIZE)
- +
- +/* -----------------------------------------------------------------------------
- + * Board specific
- + * -----------------------------------------------------------------------------
- + */
- +#define CONFIG_SYS_NO_FLASH
- +
- +/* Uncomment to define the board revision statically */
- +/* #define CONFIG_STATIC_BOARD_REV OMAP3EVM_BOARD_GEN_2 */
- +/* -----------------------------------------------------------------------------
- + * Default environment
- + * -----------------------------------------------------------------------------
- + */
- +#define CONFIG_BOOTDELAY 10
- #define CONFIG_BOOTFILE uImage
- #define CONFIG_EXTRA_ENV_SETTINGS \
- @@ -374,19 +395,4 @@
- "fi; " \
- "else run nandboot; fi"
- -/*
- - * Support for relocation
- - */
- -#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
- -#define CONFIG_SYS_INIT_RAM_ADDR 0x4020f800
- -#define CONFIG_SYS_INIT_RAM_SIZE 0x800
- -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
- - CONFIG_SYS_INIT_RAM_SIZE - \
- - GENERATED_GBL_DATA_SIZE)
- -
- -/*
- - * Define the board revision statically
- - */
- -/* #define CONFIG_STATIC_BOARD_REV OMAP3EVM_BOARD_GEN_2 */
- -
- #endif /* __CONFIG_H */
- --
- 1.7.0.4
- From 294be8bf99bdb1f30facdf8e75b463d5f2c7c263 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Fri, 23 Sep 2011 15:11:40 +0530
- Subject: [PATCH 21/26] incremental delta
- Add (dummy) definition of CONFIG_ARMCORTEXA8.
- Clean-up the definitions where no numerical value
- is required.
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 13 +++++++------
- 1 files changed, 7 insertions(+), 6 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 6b47151..9277af3 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -36,14 +36,15 @@
- /*
- * High Level Configuration Options
- */
- -#define CONFIG_OMAP 1 /* in a TI OMAP core */
- -#define CONFIG_OMAP34XX 1 /* which is a 34XX */
- -#define CONFIG_OMAP3430 1 /* which is in a 3430 */
- -#define CONFIG_OMAP3_EVM 1 /* working with EVM */
- +#define CONFIG_OMAP /* This is TI OMAP core */
- +#define CONFIG_OMAP34XX /* belonging to 34XX family */
- +#define CONFIG_OMAP3430 /* which is in a 3430 */
- #define CONFIG_SDRC /* The chip has SDRC controller */
- -#define CONFIG_OMAP3_MICRON_DDR
- -#define CONFIG_TWL4030_POWER
- +
- +#define CONFIG_OMAP3_EVM /* This is a OMAP3 EVM */
- +#define CONFIG_OMAP3_MICRON_DDR /* with MICRON DDR part */
- +#define CONFIG_TWL4030_POWER /* with TWL4030 PMIC */
- /*
- * Get cpu and chip specific definitions
- --
- 1.7.0.4
- From e8438ba784049d6090e25d6cb60d6396c1774670 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Fri, 23 Sep 2011 15:30:40 +0530
- Subject: [PATCH 22/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 21 +++++++++++----------
- 1 files changed, 11 insertions(+), 10 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 9277af3..2264fc6 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -137,11 +137,12 @@
- * I2C
- */
- #define CONFIG_HARD_I2C
- +#define CONFIG_DRIVER_OMAP34XX_I2C
- +
- #define CONFIG_SYS_I2C_SPEED 100000
- #define CONFIG_SYS_I2C_SLAVE 1
- #define CONFIG_SYS_I2C_BUS 0
- #define CONFIG_SYS_I2C_BUS_SELECT 1
- -#define CONFIG_DRIVER_OMAP34XX_I2C 1
- /*
- * PISMO support
- @@ -212,9 +213,9 @@
- * Enable CONFIG_MUSB_HCD for Host functionalities MSC, keyboard
- * Enable CONFIG_MUSB_UDD for Device functionalities.
- */
- -#define CONFIG_USB_OMAP3 1
- -#define CONFIG_MUSB_HCD 1
- -/* #define CONFIG_MUSB_UDC 1 */
- +#define CONFIG_USB_OMAP3
- +#define CONFIG_MUSB_HCD
- +/* #define CONFIG_MUSB_UDC */
- #ifdef CONFIG_USB_OMAP3
- @@ -234,9 +235,9 @@
- #ifdef CONFIG_MUSB_UDC
- /* USB device configuration */
- -#define CONFIG_USB_DEVICE 1
- -#define CONFIG_USB_TTY 1
- -#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
- +#define CONFIG_USB_DEVICE
- +#define CONFIG_USB_TTY
- +#define CONFIG_SYS_CONSOLE_IS_IN_ENV
- /* Change these to suit your needs */
- #define CONFIG_USBD_VENDORID 0x0451
- @@ -308,11 +309,11 @@
- /* NAND */
- #if defined(CONFIG_CMD_NAND)
- #define CONFIG_NAND_OMAP_GPMC
- -#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
- +#define GPMC_NAND_ECC_LP_x16_LAYOUT
- #define CONFIG_ENV_IS_IN_NAND
- #define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
- #elif defined(CONFIG_CMD_ONENAND)
- -#define CONFIG_ENV_IS_IN_ONENAND 1
- +#define CONFIG_ENV_IS_IN_ONENAND
- #define CONFIG_ENV_OFFSET ONENAND_ENV_OFFSET
- #endif
- @@ -324,7 +325,7 @@
- #define CONFIG_NET_MULTI
- #define CONFIG_SMC911X
- #define CONFIG_SMC911X_32_BIT
- -#define CONFIG_SMC911X_BASE 0x2C000000
- +#define CONFIG_SMC911X_BASE 0x2C000000
- /* BOOTP fields */
- #define CONFIG_BOOTP_SUBNETMASK 0x00000001
- --
- 1.7.0.4
- From 3a16207ebb825e356bc5ada87c723322251219ea Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Fri, 23 Sep 2011 15:54:50 +0530
- Subject: [PATCH 23/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 2264fc6..bbf26f5 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -319,9 +319,9 @@
- #define CONFIG_ENV_ADDR CONFIG_ENV_OFFSET
- -/* Ethernet (SMSC9115 from SMSC9118 family) */
- #if defined(CONFIG_CMD_NET)
- +/* Ethernet (SMSC9115 from SMSC9118 family) */
- #define CONFIG_NET_MULTI
- #define CONFIG_SMC911X
- #define CONFIG_SMC911X_32_BIT
- --
- 1.7.0.4
- From 20882aa81d6d2f510e646afea7bbff13d4f34611 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Fri, 23 Sep 2011 16:01:05 +0530
- Subject: [PATCH 24/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 9 ++++-----
- 1 files changed, 4 insertions(+), 5 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index bbf26f5..6d39e41 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -69,11 +69,10 @@
- #define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
- #define CONFIG_SYS_HZ 1000
- -/*
- - * Size of malloc() pool
- - */
- -#define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */
- - /* Sector */
- +/* Size of environment - 128KB */
- +#define CONFIG_ENV_SIZE (128 << 10)
- +
- +/* Size of malloc pool */
- #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (128 << 10))
- /*
- --
- 1.7.0.4
- From d32e9ec6086dd7926ff33c9f35f2493cb6a5f286 Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Fri, 23 Sep 2011 17:52:23 +0530
- Subject: [PATCH 25/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 6d39e41..242eea3 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -153,11 +153,11 @@
- #define CONFIG_SYS_FLASH_BASE PISMO1_NAND_BASE
- #elif defined(CONFIG_CMD_ONENAND)
- #define CONFIG_SYS_FLASH_BASE PISMO1_ONEN_BASE
- +#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
- #endif
- /* Monitor at start of flash - Reserve 2 sectors */
- #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
- -#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
- #define CONFIG_SYS_MONITOR_LEN (256 << 10)
- --
- 1.7.0.4
- From 70eaa43067f89f031015fa23d439e0c1c60e3b2a Mon Sep 17 00:00:00 2001
- From: Sanjeev Premi <premi@localhost>
- Date: Fri, 23 Sep 2011 17:56:45 +0530
- Subject: [PATCH 26/26] incremental delta
- Signed-off-by: Sanjeev Premi <premi@localhost>
- ---
- include/configs/omap3_evm.h | 12 +++++-------
- 1 files changed, 5 insertions(+), 7 deletions(-)
- diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
- index 242eea3..dd44ae3 100644
- --- a/include/configs/omap3_evm.h
- +++ b/include/configs/omap3_evm.h
- @@ -149,13 +149,6 @@
- #define PISMO1_NAND_SIZE GPMC_SIZE_128M
- #define PISMO1_ONEN_SIZE GPMC_SIZE_128M
- -#if defined(CONFIG_CMD_NAND)
- -#define CONFIG_SYS_FLASH_BASE PISMO1_NAND_BASE
- -#elif defined(CONFIG_CMD_ONENAND)
- -#define CONFIG_SYS_FLASH_BASE PISMO1_ONEN_BASE
- -#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
- -#endif
- -
- /* Monitor at start of flash - Reserve 2 sectors */
- #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
- @@ -307,11 +300,16 @@
- */
- /* NAND */
- #if defined(CONFIG_CMD_NAND)
- +#define CONFIG_SYS_FLASH_BASE PISMO1_NAND_BASE
- +
- #define CONFIG_NAND_OMAP_GPMC
- #define GPMC_NAND_ECC_LP_x16_LAYOUT
- #define CONFIG_ENV_IS_IN_NAND
- #define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
- #elif defined(CONFIG_CMD_ONENAND)
- +#define CONFIG_SYS_FLASH_BASE PISMO1_ONEN_BASE
- +#define CONFIG_SYS_ONENAND_BASE ONENAND_MAP
- +
- #define CONFIG_ENV_IS_IN_ONENAND
- #define CONFIG_ENV_OFFSET ONENAND_ENV_OFFSET
- #endif
- --
- 1.7.0.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement