[U-Boot] [PATCH 00/16] README: Clean up old CONFIG options

The README mentions various options that are not used in U-Boot. This series tidies these up.
There are also some other README files that are out of date, or reference old options. This series tidies up/removes some of these also.
Simon Glass (16): README: Drop old Intel Monahans comment README: Drop CONFIG_COGENT and related options README: Correct CONFIG_ENV_OFFSET_RENDUND typo README: Drop unused JFFS2 options README: Drop unused CONFIG_SYS_LS_MC_FW_... options README: Drop CONFIG_OF_BOOT_CPU README: Drop CONFIG_LAN91C96_BASE README: Drop CONFIG_SYS_USB_BRG_CLK README: sh: Drop CONFIG_SYS_I2C_SH_BASE5 README: i2c: Drop unused i2c CONFIG options README: Drop CONFIG_SYS_INIT_DATA_SIZE README: Drop CONFIG_SYS_USE_OSCCLK atmel: Drop README.at91-soc README: Drop README.imx31 README: Drop CONFIG_MPC8349ADS README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo
README | 104 +++-------------------------------------- doc/README.JFFS2 | 43 ++--------------- doc/README.JFFS2_NAND | 20 +------- doc/README.at91-soc | 48 ------------------- doc/README.imx31 | 29 ------------ doc/README.mpc83xxads | 1 - doc/README.nand | 2 +- include/configs/ls2080a_simu.h | 3 -- 8 files changed, 12 insertions(+), 238 deletions(-) delete mode 100644 doc/README.at91-soc delete mode 100644 doc/README.imx31

This is no longer in the U-Boot source code, so drop this note from the README.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 14 -------------- 1 file changed, 14 deletions(-)
diff --git a/README b/README index bc626dc..5499a4c 100644 --- a/README +++ b/README @@ -578,20 +578,6 @@ The following options need to be configured: CONFIG_SYS_FSL_SEC_LE Defines the SEC controller register space as Little Endian
-- Intel Monahans options: - CONFIG_SYS_MONAHANS_RUN_MODE_OSC_RATIO - - Defines the Monahans run mode to oscillator - ratio. Valid values are 8, 16, 24, 31. The core - frequency is this value multiplied by 13 MHz. - - CONFIG_SYS_MONAHANS_TURBO_RUN_MODE_RATIO - - Defines the Monahans turbo mode to oscillator - ratio. Valid values are 1 (default if undefined) and - 2. The core frequency as calculated above is multiplied - by this value. - - MIPS CPU options: CONFIG_SYS_INIT_SP_OFFSET

On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass sjg@chromium.org wrote:
This is no longer in the U-Boot source code, so drop this note from the README.
Signed-off-by: Simon Glass sjg@chromium.org
README | 14 -------------- 1 file changed, 14 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:00:56PM -0600, Simon Glass wrote:
This is no longer in the U-Boot source code, so drop this note from the README.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

These are no-longer present in U-Boot. Drop them.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 25 ------------------------- 1 file changed, 25 deletions(-)
diff --git a/README b/README index 5499a4c..e0c78fb 100644 --- a/README +++ b/README @@ -325,27 +325,6 @@ The following options need to be configured: - CPU Daughterboard Type: (if CONFIG_ATSTK1000 is defined) Define exactly one, e.g. CONFIG_ATSTK1002
-- CPU Module Type: (if CONFIG_COGENT is defined) - Define exactly one of - CONFIG_CMA286_60_OLD ---- FIXME --- not tested yet: - CONFIG_CMA286_60, CONFIG_CMA286_21, CONFIG_CMA286_60P, - CONFIG_CMA287_23, CONFIG_CMA287_50 - -- Motherboard Type: (if CONFIG_COGENT is defined) - Define exactly one of - CONFIG_CMA101, CONFIG_CMA102 - -- Motherboard I/O Modules: (if CONFIG_COGENT is defined) - Define one or more of - CONFIG_CMA302 - -- Motherboard Options: (if CONFIG_CMA101 or CONFIG_CMA102 are defined) - Define one or more of - CONFIG_LCD_HEARTBEAT - update a character position on - the LCD display every second with - a "rotator" |-/|-/ - - Marvell Family Member CONFIG_SYS_MVFS - define it if you want to enable multiple fs option at one time @@ -3746,10 +3725,6 @@ Configuration Settings: - CONFIG_SYS_SDRAM_BASE: Physical start address of SDRAM. _Must_ be 0 here.
-- CONFIG_SYS_MBIO_BASE: - Physical start address of Motherboard I/O (if using a - Cogent motherboard) - - CONFIG_SYS_FLASH_BASE: Physical start address of Flash memory.

On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass sjg@chromium.org wrote:
These are no-longer present in U-Boot. Drop them.
Signed-off-by: Simon Glass sjg@chromium.org
README | 25 ------------------------- 1 file changed, 25 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:00:57PM -0600, Simon Glass wrote:
These are no-longer present in U-Boot. Drop them.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

Change this to CONFIG_ENV_OFFSET_REDUND.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README b/README index e0c78fb..57dd79c 100644 --- a/README +++ b/README @@ -4156,7 +4156,7 @@ to save the current settings. This setting describes a second storage area of CONFIG_ENV_SIZE size used to hold a redundant copy of the environment data, so that there is a valid backup copy in case there is a power failure - during a "saveenv" operation. CONFIG_ENV_OFFSET_RENDUND must be + during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be aligned to an erase sector boundary.
- CONFIG_ENV_SPI_BUS (optional): @@ -4207,7 +4207,7 @@ but it can not erase, write this NOR flash by SRIO or PCIE interface. This setting describes a second storage area of CONFIG_ENV_SIZE size used to hold a redundant copy of the environment data, so that there is a valid backup copy in case there is a power failure - during a "saveenv" operation. CONFIG_ENV_OFFSET_RENDUND must be + during a "saveenv" operation. CONFIG_ENV_OFFSET_REDUND must be aligned to an erase block boundary.
- CONFIG_ENV_RANGE (optional):

On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass sjg@chromium.org wrote:
Change this to CONFIG_ENV_OFFSET_REDUND.
Signed-off-by: Simon Glass sjg@chromium.org
README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:00:58PM -0600, Simon Glass wrote:
Change this to CONFIG_ENV_OFFSET_REDUND.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

There appear to be neither implemented nor used. Drop them.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 12 +----------- doc/README.JFFS2 | 43 +++---------------------------------------- doc/README.JFFS2_NAND | 20 ++------------------ 3 files changed, 6 insertions(+), 69 deletions(-)
diff --git a/README b/README index 57dd79c..cdd58db 100644 --- a/README +++ b/README @@ -1649,23 +1649,13 @@ The following options need to be configured: Default is GPT_ENTRY_NAME (currently "gpt") if undefined.
- Journaling Flash filesystem support: - CONFIG_JFFS2_NAND, CONFIG_JFFS2_NAND_OFF, CONFIG_JFFS2_NAND_SIZE, - CONFIG_JFFS2_NAND_DEV + CONFIG_JFFS2_NAND Define these for a default partition on a NAND device
CONFIG_SYS_JFFS2_FIRST_SECTOR, CONFIG_SYS_JFFS2_FIRST_BANK, CONFIG_SYS_JFFS2_NUM_BANKS Define these for a default partition on a NOR device
- CONFIG_SYS_JFFS_CUSTOM_PART - Define this to create an own partition. You have to provide a - function struct part_info* jffs2_part_info(int part_num) - - If you define only one JFFS2 partition you may also want to - #define CONFIG_SYS_JFFS_SINGLE_PART 1 - to disable the command chpart. This is the default when you - have not defined a custom partition - - FAT(File Allocation Table) filesystem write function support: CONFIG_FAT_WRITE
diff --git a/doc/README.JFFS2 b/doc/README.JFFS2 index f0e9bc1..604e5b9 100644 --- a/doc/README.JFFS2 +++ b/doc/README.JFFS2 @@ -19,52 +19,15 @@ more or less a bubble sort. That algorithm is known to be O(n^2), thus you should really consider if you can avoid it!
-There is two ways for JFFS2 to find the disk. The default way uses -the flash_info structure to find the start of a JFFS2 disk (called -partition in the code) and you can change where the partition is with -two defines. +There only one way for JFFS2 to find the disk. It uses the flash_info +structure to find the start of a JFFS2 disk (called partition in the code) +and you can change where the partition is with two defines.
CONFIG_SYS_JFFS2_FIRST_BANK defined the first flash bank to use
CONFIG_SYS_JFFS2_FIRST_SECTOR defines the first sector to use - - -The second way is to define CONFIG_SYS_JFFS_CUSTOM_PART and implement the -jffs2_part_info(int part_num) function in your board specific files. -In this mode CONFIG_SYS_JFFS2_FIRST_BANK and CONFIG_SYS_JFFS2_FIRST_SECTOR is not -used. - -The input is a partition number starting with 0. -Return a pointer to struct part_info or NULL for error; - -Ex jffs2_part_info() for one partition. ---- -#if defined CONFIG_SYS_JFFS_CUSTOM_PART -#include <jffs2/jffs2.h> - -static struct part_info part; - -struct part_info* -jffs2_part_info(int part_num) -{ - if(part_num==0){ - if(part.usr_priv==(void*)1) - return ∂ - - memset(&part, 0, sizeof(part)); - part.offset=(char*)0xFF800000; - part.size=1024*1024*8; - - /* Mark the struct as ready */ - part.usr_priv=(void*)1; - - return ∂ - } - return 0; -} -#endif ---
TODO. diff --git a/doc/README.JFFS2_NAND b/doc/README.JFFS2_NAND index 09788d5..92fa0f6 100644 --- a/doc/README.JFFS2_NAND +++ b/doc/README.JFFS2_NAND @@ -2,23 +2,7 @@ JFFS2 NAND support:
To enable, use the following #define in the board configuration file:
-#define CONFIG_JFFS2_NAND 1 +#define CONFIG_JFFS2_NAND
Configuration of partitions is similar to how this is done in U-Boot -for JFFS2 on top NOR flash. If a single partition is used, it can be -configured using the following #defines in the configuration file: - -#define CONFIG_JFFS2_NAND_DEV 0 /* nand device jffs2 lives on */ -#define CONFIG_JFFS2_NAND_OFF 0 /* start of jffs2 partition */ -#define CONFIG_JFFS2_NAND_SIZE 2*1024*1024 /* size of jffs2 partition */ - -If more than a single partition is desired, the user can define a -CONFIG_SYS_JFFS_CUSTOM_PART macro and implement a - - struct part_info* jffs2_part_info(int part_num) - -function in a board-specific module. An example of such function is -available in common/cmd_jffs2.c - -The default configuration for the DAVE board has a single JFFS2 -partition of 2 MB size. +for JFFS2 on top NOR flash.

On Mon, Oct 3, 2016 at 8:00 AM, Simon Glass sjg@chromium.org wrote:
There appear to be neither implemented nor used. Drop them.
Signed-off-by: Simon Glass sjg@chromium.org
README | 12 +----------- doc/README.JFFS2 | 43 +++---------------------------------------- doc/README.JFFS2_NAND | 20 ++------------------ 3 files changed, 6 insertions(+), 69 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:00:59PM -0600, Simon Glass wrote:
There appear to be neither implemented nor used. Drop them.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

Drop a few that are not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
diff --git a/README b/README index cdd58db..703c5f4 100644 --- a/README +++ b/README @@ -4805,10 +4805,6 @@ within that device. Specifies that QE/FMAN firmware is located on the primary SD/MMC device. CONFIG_SYS_FMAN_FW_ADDR is the byte offset on that device.
-- CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH - Specifies that QE/FMAN firmware is located on the primary SPI - device. CONFIG_SYS_FMAN_FW_ADDR is the byte offset on that device. - - CONFIG_SYS_QE_FMAN_FW_IN_REMOTE Specifies that QE/FMAN firmware is located in the remote (master) memory space. CONFIG_SYS_FMAN_FW_ADDR is a virtual address which @@ -4827,22 +4823,6 @@ within that device. - CONFIG_FSL_MC_ENET Enable the MC driver for Layerscape SoCs.
-- CONFIG_SYS_LS_MC_FW_ADDR - The address in the storage device where the firmware is located. The - meaning of this address depends on which CONFIG_SYS_LS_MC_FW_IN_xxx macro - is also specified. - -- CONFIG_SYS_LS_MC_FW_LENGTH - The maximum possible size of the firmware. The firmware binary format - has a field that specifies the actual size of the firmware, but it - might not be possible to read any part of the firmware unless some - local storage is allocated to hold the entire firmware first. - -- CONFIG_SYS_LS_MC_FW_IN_NOR - Specifies that MC firmware is located in NOR flash, mapped as - normal addressable memory via the LBC. CONFIG_SYS_LS_MC_FW_ADDR is the - virtual address in NOR flash. - Freescale Layerscape Debug Server Support: ------------------------------------------- The Freescale Layerscape Debug Server Support supports the loading of diff --git a/include/configs/ls2080a_simu.h b/include/configs/ls2080a_simu.h index 1851d41..f0ec6c4 100644 --- a/include/configs/ls2080a_simu.h +++ b/include/configs/ls2080a_simu.h @@ -146,9 +146,6 @@ #define CONFIG_SYS_DEBUG_SERVER_FW_ADDR 0x580C00000ULL
/* MC firmware */ -#define CONFIG_SYS_LS_MC_FW_IN_NOR -#define CONFIG_SYS_LS_MC_FW_ADDR 0x580200000ULL - #define CONFIG_SYS_LS_MC_DPL_IN_NOR #define CONFIG_SYS_LS_MC_DPL_ADDR 0x5806C0000ULL

Hi Simon,
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
Drop a few that are not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Should we clean up scripts/config_whitelist.txt to remove these options too?
Regards, Bin

Hi Bin,
On 5 October 2016 at 00:11, Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon,
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
Drop a few that are not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Should we clean up scripts/config_whitelist.txt to remove these options too?
Yes. The script should not include things that are only in the README, but in this case they were also in a header. Next time someone runs the build-whitelist.sh script they will go away.
Regards, Simon

On Fri, Oct 07, 2016 at 01:30:31PM -0600, Simon Glass wrote:
Hi Bin,
On 5 October 2016 at 00:11, Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon,
On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
Drop a few that are not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
Should we clean up scripts/config_whitelist.txt to remove these options too?
Yes. The script should not include things that are only in the README, but in this case they were also in a header. Next time someone runs the build-whitelist.sh script they will go away.
And I'll probably do that "soon" along with a re-sync of the configs. I'm doing some conversions of stuff now.

On Sun, Oct 02, 2016 at 06:01:00PM -0600, Simon Glass wrote:
Drop a few that are not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/README b/README index 703c5f4..da1c033 100644 --- a/README +++ b/README @@ -695,11 +695,6 @@ The following options need to be configured: This causes ft_system_setup() to be called before booting the kernel.
- CONFIG_OF_BOOT_CPU - - This define fills in the correct boot CPU in the boot - param header, the default value is zero if undefined. - CONFIG_OF_IDE_FIXUP
U-Boot can detect if an IDE device is present or not.

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
README | 5 ----- 1 file changed, 5 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:01PM -0600, Simon Glass wrote:
This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/README b/README index da1c033..43e4d99 100644 --- a/README +++ b/README @@ -1297,10 +1297,6 @@ The following options need to be configured: CONFIG_LAN91C96 Support for SMSC's LAN91C96 chips.
- CONFIG_LAN91C96_BASE - Define this to hold the physical address - of the LAN91C96's I/O space - CONFIG_LAN91C96_USE_32_BIT Define this to enable 32 bit addressing

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
README | 4 ---- 1 file changed, 4 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:02PM -0600, Simon Glass wrote:
This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/README b/README index 43e4d99..7f5de6b 100644 --- a/README +++ b/README @@ -1481,10 +1481,6 @@ The following options need to be configured: Derive USB clock from external clock "blah" - CONFIG_SYS_USB_EXTC_CLK 0x02
- CONFIG_SYS_USB_BRG_CLK 0xBLAH - Derive USB clock from brgclk - - CONFIG_SYS_USB_BRG_CLK 0x04 - If you have a USB-IF assigned VendorID then you may wish to define your own vendor specific values either in BoardName.h or directly in usbd_vendor_info.h. If you don't define

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
README | 4 ---- 1 file changed, 4 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:03PM -0600, Simon Glass wrote:
This is not used in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This is not used in U-Boot. Drop both the BASE and the SIZE config.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 2 -- 1 file changed, 2 deletions(-)
diff --git a/README b/README index 7f5de6b..0c90415 100644 --- a/README +++ b/README @@ -2273,8 +2273,6 @@ CBFS (Coreboot Filesystem) support - CONFIG_SYS_I2C_SH_SPEED3 for for the speed channel 3 - CONFIG_SYS_I2C_SH_BASE4 for setting the register channel 4 - CONFIG_SYS_I2C_SH_SPEED4 for for the speed channel 4 - - CONFIG_SYS_I2C_SH_BASE5 for setting the register channel 5 - - CONFIG_SYS_I2C_SH_SPEED5 for for the speed channel 5 - CONFIG_SYS_I2C_SH_NUM_CONTROLLERS for number of i2c buses
- drivers/i2c/omap24xx_i2c.c

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This is not used in U-Boot. Drop both the BASE and the SIZE config.
Signed-off-by: Simon Glass sjg@chromium.org
README | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:04PM -0600, Simon Glass wrote:
This is not used in U-Boot. Drop both the BASE and the SIZE config.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used in U-Boot, so drop them.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/README b/README index 0c90415..614a81c 100644 --- a/README +++ b/README @@ -2326,10 +2326,7 @@ CBFS (Coreboot Filesystem) support additional defines:
CONFIG_SYS_NUM_I2C_BUSES - Hold the number of i2c buses you want to use. If you - don't use/have i2c muxes on your i2c bus, this - is equal to CONFIG_SYS_NUM_I2C_ADAPTERS, and you can - omit this define. + Hold the number of i2c buses you want to use.
CONFIG_SYS_I2C_DIRECT_BUS define this, if you don't use i2c muxes on your hardware. @@ -2543,7 +2540,7 @@ CBFS (Coreboot Filesystem) support will skip addresses 0x50 and 0x68 on a board with one I2C bus
#define CONFIG_I2C_MULTI_BUS - #define CONFIG_SYS_I2C_MULTI_NOPROBES {{0,0x50},{0,0x68},{1,0x54}} + #define CONFIG_SYS_I2C_NOPROBES {{0,0x50},{0,0x68},{1,0x54}}
will skip addresses 0x50 and 0x68 on bus 0 and address 0x54 on bus 1

Hello Simon,
Am 03.10.2016 um 02:01 schrieb Simon Glass:
CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used in U-Boot, so drop them.
Signed-off-by: Simon Glass sjg@chromium.org
README | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
Thanks!
Acked-by: Heiko Schocher hs@denx.de
bye, Heiko
diff --git a/README b/README index 0c90415..614a81c 100644 --- a/README +++ b/README @@ -2326,10 +2326,7 @@ CBFS (Coreboot Filesystem) support additional defines:
CONFIG_SYS_NUM_I2C_BUSES
Hold the number of i2c buses you want to use. If you
don't use/have i2c muxes on your i2c bus, this
is equal to CONFIG_SYS_NUM_I2C_ADAPTERS, and you can
omit this define.
Hold the number of i2c buses you want to use.
CONFIG_SYS_I2C_DIRECT_BUS define this, if you don't use i2c muxes on your hardware.
@@ -2543,7 +2540,7 @@ CBFS (Coreboot Filesystem) support will skip addresses 0x50 and 0x68 on a board with one I2C bus
#define CONFIG_I2C_MULTI_BUS
#define CONFIG_SYS_I2C_MULTI_NOPROBES {{0,0x50},{0,0x68},{1,0x54}}
#define CONFIG_SYS_I2C_NOPROBES {{0,0x50},{0,0x68},{1,0x54}}
will skip addresses 0x50 and 0x68 on bus 0 and address 0x54 on bus 1

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used in U-Boot, so drop them.
Signed-off-by: Simon Glass sjg@chromium.org
README | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:05PM -0600, Simon Glass wrote:
CONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used in U-Boot, so drop them.
Signed-off-by: Simon Glass sjg@chromium.org Acked-by: Heiko Schocher hs@denx.de Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This appears to be calculated automatically now. Drop the old reference.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README b/README index 614a81c..17dc34b 100644 --- a/README +++ b/README @@ -4480,7 +4480,7 @@ Low Level (hardware related) configuration options: CONFIG_SYS_GBL_DATA_OFFSET is chosen such that the initial data is located at the end of the available space (sometimes written as (CONFIG_SYS_INIT_RAM_SIZE - - CONFIG_SYS_INIT_DATA_SIZE), and the initial stack is just + GENERATED_GBL_DATA_SIZE), and the initial stack is just below that area (growing from (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET) downward.

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This appears to be calculated automatically now. Drop the old reference.
Signed-off-by: Simon Glass sjg@chromium.org
README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:06PM -0600, Simon Glass wrote:
This appears to be calculated automatically now. Drop the old reference.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This is not used in U-Boot so drop it.
Signed-off-by: Simon Glass sjg@chromium.org ---
README | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/README b/README index 17dc34b..1d7d2e3 100644 --- a/README +++ b/README @@ -4539,11 +4539,6 @@ Low Level (hardware related) configuration options: enable SPI microcode relocation patch (MPC8xx); define relocation offset in DPRAM [SCC4]
-- CONFIG_SYS_USE_OSCCLK: - Use OSCM clock mode on MBX8xx board. Be careful, - wrong setting might damage your board. Read - doc/README.MBX before setting this variable! - - CONFIG_SYS_CPM_POST_WORD_ADDR: (MPC8xx, MPC8260 only) Offset of the bootmode word in DPRAM used by post (Power On Self Tests). This definition overrides

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This is not used in U-Boot so drop it.
Signed-off-by: Simon Glass sjg@chromium.org
README | 5 ----- 1 file changed, 5 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:07PM -0600, Simon Glass wrote:
This is not used in U-Boot so drop it.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by: Simon Glass sjg@chromium.org ---
doc/README.at91-soc | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc
diff --git a/doc/README.at91-soc b/doc/README.at91-soc deleted file mode 100644 index 9a9f74e..0000000 --- a/doc/README.at91-soc +++ /dev/null @@ -1,48 +0,0 @@ - New C structure AT91 SoC access -================================= - -The goal --------- - -Currently the at91 arch uses hundreds of address defines and special -at91_xxxx_write/read functions to access the SOC. -The u-boot project perferred method is to access memory mapped hw -regisister via a c structure. - -e.g. old - - *AT91C_PIOA_IDR = AT91_PMX_AA_TWD | AT91_PMX_AA_TWCK; - *AT91C_PIOC_PUDR = AT91_PMX_AA_TWD | AT91_PMX_AA_TWCK; - *AT91C_PIOC_PER = AT91_PMX_AA_TWD | AT91_PMX_AA_TWCK; - *AT91C_PIOC_OER = AT91_PMX_AA_TWD | AT91_PMX_AA_TWCK; - *AT91C_PIOC_PIO = AT91_PMX_AA_TWD | AT91_PMX_AA_TWCK; - - at91_sys_write(AT91_RSTC_CR, - AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST); - -e.g new - pin = AT91_PMX_AA_TWD | AT91_PMX_AA_TWCK; - writel(pin, &pio->pioa.idr); - writel(pin, &pio->pioa.pudr); - writel(pin, &pio->pioa.per); - writel(pin, &pio->pioa.oer); - writel(pin, &pio->pioa.sodr); - - writel(AT91_RSTC_KEY | AT91_RSTC_CR_PROCRST | - AT91_RSTC_CR_PERRST, &rstc->cr); - -The method for updating ------------------------- - -1. add's the temporary CONFIG_AT91_LEGACY to all at91 board configs -2. Display a compile time warning, if the board has not been converted -3. add new structures for SoC access -4. Convert arch, driver and boards file to new SoC -5. remove legacy code, if all boards and drives are ready - -2013-10-30 Andreas Bießmann andreas@biessmann.org: - -The goal is almost reached, we could remove the CONFIG_AT91_LEGACY switch but -remain the CONFIG_ATMEL_LEGACY switch until the GPIO disaster is fixed. The -AT91 spi driver has also some CONFIG_ATMEL_LEGACY stuff left, so another point -to fix until this README can be removed.

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by: Simon Glass sjg@chromium.org
doc/README.at91-soc | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On 03.10.16 02:01, Simon Glass wrote:
This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by: Simon Glass sjg@chromium.org
Acked-by: Andreas Bießmann andreas@biessmann.org
doc/README.at91-soc | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc

On Sun, Oct 02, 2016 at 06:01:08PM -0600, Simon Glass wrote:
This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com Acked-by: Andreas Bießmann andreas@biessmann.org
Applied to u-boot/master, thanks!

The only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it.
Signed-off-by: Simon Glass sjg@chromium.org ---
doc/README.imx31 | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 doc/README.imx31
diff --git a/doc/README.imx31 b/doc/README.imx31 deleted file mode 100644 index 91ef766..0000000 --- a/doc/README.imx31 +++ /dev/null @@ -1,29 +0,0 @@ -U-Boot for Freescale i.MX31 - -This file contains information for the port of U-Boot to the Freescale -i.MX31 SoC. - -1. CONFIGURATION OPTIONS/SETTINGS ---------------------------------- - -1.1 Configuration of MC13783 SPI bus ------------------------------------- - The power management companion chip MC13783 is connected to the - i.MX31 via an SPI bus. Use the following configuration options - to setup the bus and chip select used for a particular board. - - CONFIG_MC13783_SPI_BUS -- defines the SPI bus the MC13783 is connected to. - Note that 0 is CSPI1, 1 is CSPI2 and 2 is CSPI3. - CONFIG_MC13783_SPI_CS -- define the chip select the MC13783 s connected to. - -1.2 Timer precision -------------------- - CONFIG_MX31_TIMER_HIGH_PRECISION - - Enable higher precision timer. The low-precision timer - (default) provides approximately 4% error, whereas the - high-precision timer is about 0.4% accurate. The extra - accuracy is achieved at the cost of higher computational - overhead, which, in places where time is measured, should - not be critical, so, it should be safe to enable this - option.

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
The only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it.
Signed-off-by: Simon Glass sjg@chromium.org
doc/README.imx31 | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 doc/README.imx31
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:09PM -0600, Simon Glass wrote:
The only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This option is not used now.
Signed-off-by: Simon Glass sjg@chromium.org ---
doc/README.mpc83xxads | 1 - 1 file changed, 1 deletion(-)
diff --git a/doc/README.mpc83xxads b/doc/README.mpc83xxads index 7a8b706..372fdd9 100644 --- a/doc/README.mpc83xxads +++ b/doc/README.mpc83xxads @@ -50,7 +50,6 @@ Freescale MPC83xx ADS Boards
CONFIG_MPC83xx MPC83xx family CONFIG_MPC8349 MPC8349 specific - CONFIG_MPC8349ADS MPC8349ADS board specific CONFIG_TSEC_ENET Use on-chip 10/100/1000 ethernet

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This option is not used now.
Signed-off-by: Simon Glass sjg@chromium.org
doc/README.mpc83xxads | 1 - 1 file changed, 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:10PM -0600, Simon Glass wrote:
This option is not used now.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org ---
doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/README.nand b/doc/README.nand index f1c20ff..2295bb2 100644 --- a/doc/README.nand +++ b/doc/README.nand @@ -160,7 +160,7 @@ Configuration Options:
/* * devnum is the device number to be used in nand commands - * and in mtd->name. Must be less than CONFIG_SYS_NAND_MAX_DEVICE. + * and in mtd->name. Must be less than CONFIG_SYS_MAX_NAND_DEVICE. */ if (nand_register(devnum, mtd)) error out

On Sun, 2016-10-02 at 18:01 -0600, Simon Glass wrote:
This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org
doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/README.nand b/doc/README.nand index f1c20ff..2295bb2 100644 --- a/doc/README.nand +++ b/doc/README.nand @@ -160,7 +160,7 @@ Configuration Options: /* * devnum is the device number to be used in nand commands
- * and in mtd->name. Must be less than CONFIG_SYS_NAND_MAX_DEVICE.
- * and in mtd->name. Must be less than CONFIG_SYS_MAX_NAND_DEVICE.
*/ if (nand_register(devnum, mtd)) error out
Acked-by: Scott Wood oss@buserror.net
-Scott

On Mon, Oct 3, 2016 at 8:01 AM, Simon Glass sjg@chromium.org wrote:
This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org
doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com

On Sun, Oct 02, 2016 at 06:01:11PM -0600, Simon Glass wrote:
This should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it.
Signed-off-by: Simon Glass sjg@chromium.org Acked-by: Scott Wood oss@buserror.net Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!

On 10/02/2016 05:01 PM, Simon Glass wrote:
The README mentions various options that are not used in U-Boot. This series tidies these up.
There are also some other README files that are out of date, or reference old options. This series tidies up/removes some of these also.
Simon Glass (16): README: Drop old Intel Monahans comment README: Drop CONFIG_COGENT and related options README: Correct CONFIG_ENV_OFFSET_RENDUND typo README: Drop unused JFFS2 options README: Drop unused CONFIG_SYS_LS_MC_FW_... options README: Drop CONFIG_OF_BOOT_CPU README: Drop CONFIG_LAN91C96_BASE README: Drop CONFIG_SYS_USB_BRG_CLK README: sh: Drop CONFIG_SYS_I2C_SH_BASE5 README: i2c: Drop unused i2c CONFIG options README: Drop CONFIG_SYS_INIT_DATA_SIZE README: Drop CONFIG_SYS_USE_OSCCLK atmel: Drop README.at91-soc README: Drop README.imx31 README: Drop CONFIG_MPC8349ADS README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo
README | 104 +++-------------------------------------- doc/README.JFFS2 | 43 ++--------------- doc/README.JFFS2_NAND | 20 +------- doc/README.at91-soc | 48 ------------------- doc/README.imx31 | 29 ------------ doc/README.mpc83xxads | 1 - doc/README.nand | 2 +- include/configs/ls2080a_simu.h | 3 -- 8 files changed, 12 insertions(+), 238 deletions(-) delete mode 100644 doc/README.at91-soc delete mode 100644 doc/README.imx31
Reviewed-by: York Sun york.sun@nxp.com
participants (7)
-
Andreas Bießmann
-
Bin Meng
-
Heiko Schocher
-
Scott Wood
-
Simon Glass
-
Tom Rini
-
york sun