README: Clean up old CONFIG options
Subsystems (2)
cover 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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 1/16 README: Drop old Intel Monahans comment
This is no longer in the U-Boot source code, so drop this note from the README.
---
README | 14 -------------- 1 file changed, 14 deletions(-)
README +0 -14
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 1/16 README: Drop old Intel Monahans comment
Quoted 9 lines · Simon Glass
This is no longer in the U-Boot source code, so drop this note from the README.
Signed-off-by Simon Glass <[email protected]>---
README | 14 -------------- 1 file changed, 14 deletions(-)
PATCH 1/16 README: Drop old Intel Monahans comment
In reply to Simon GlassQuoted 5 lines · Simon Glass
This is no longer in the U-Boot source code, so drop this note from the README.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/47d37c57/attachment.sig>
PATCH 2/16 README: Drop CONFIG_COGENT and related options
In reply to Simon GlassThese are no-longer present in U-Boot. Drop them.
---
README | 25 ------------------------- 1 file changed, 25 deletions(-)
README +0 -25
@@ -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.
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 2/16 README: Drop CONFIG_COGENT and related options
Quoted 8 lines · Simon Glass
These are no-longer present in U-Boot. Drop them.
Signed-off-by Simon Glass <[email protected]>---
README | 25 ------------------------- 1 file changed, 25 deletions(-)
PATCH 2/16 README: Drop CONFIG_COGENT and related options
In reply to Simon GlassQuoted 4 lines · Simon Glass
These are no-longer present in U-Boot. Drop them.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/f69c6f99/attachment.sig>
PATCH 3/16 README: Correct CONFIG_ENV_OFFSET_RENDUND typo
In reply to Simon GlassChange this to CONFIG_ENV_OFFSET_REDUND.
---
README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
README +2 -2
@@ -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):
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 3/16 README: Correct CONFIG_ENV_OFFSET_RENDUND typo
Quoted 8 lines · Simon Glass
Change this to
CONFIG_ENV_OFFSET_REDUND.Signed-off-by Simon Glass <[email protected]>---
README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
PATCH 3/16 README: Correct CONFIG_ENV_OFFSET_RENDUND typo
In reply to Simon GlassQuoted 4 lines · Simon Glass
Change this to
CONFIG_ENV_OFFSET_REDUND.Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/58333c0e/attachment.sig>
PATCH 4/16 README: Drop unused JFFS2 options
In reply to Simon GlassThere appear to be neither implemented nor used. Drop them.
---
README | 12 +----------- doc/README.JFFS2 | 43 +++---------------------------------------- doc/README.JFFS2_NAND | 20 ++------------------ 3 files changed, 6 insertions(+), 69 deletions(-)
README +1 -11
@@ -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
doc/README.JFFS2 +3 -40
55 lines not on this page · raw message
doc/README.JFFS2_NAND +2 -18
@@ -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.
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 4/16 README: Drop unused JFFS2 options
Quoted 10 lines · Simon Glass
There appear to be neither implemented nor used. Drop them.
Signed-off-by Simon Glass <[email protected]>---
README | 12 +----------- doc/README.JFFS2 | 43 +++---------------------------------------- doc/README.JFFS2_NAND | 20 ++------------------ 3 files changed, 6 insertions(+), 69 deletions(-)
PATCH 4/16 README: Drop unused JFFS2 options
In reply to Simon GlassQuoted 4 lines · Simon Glass
There appear to be neither implemented nor used. Drop them.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/95a0bcc5/attachment.sig>
PATCH 5/16 README: Drop unused CONFIG_SYS_LS_MC_FW_... options
In reply to Simon GlassDrop a few that are not used in U-Boot.
---
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
README +0 -20
@@ -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
include/configs/ls2080a_simu.h +0 -3
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 5/16 README: Drop unused CONFIG_SYS_LS_MC_FW_... options
Hi Simon,
Quoted 9 lines · Simon Glass
Drop a few that are not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>---
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
Should we clean up scripts/config_whitelist.txt to remove these options too?
Regards,
Bin
PATCH 5/16 README: Drop unused CONFIG_SYS_LS_MC_FW_... options
Hi Bin,
Quoted 9 lines · Bin Meng
Hi Simon,
Quoted 5 lines · Simon Glass
Drop a few that are not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>---
Quoted 8 lines
Quoted 4 lines
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)Reviewed-by Bin Meng <[email protected]>Should we clean up
scripts/config_whitelist.txtto 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
PATCH 5/16 README: Drop unused CONFIG_SYS_LS_MC_FW_... options
Quoted 17 lines · Simon Glass
Hi Bin,
Quoted 14 lines · Bin Meng
Hi Simon,
Quoted 9 lines · Simon Glass
Drop a few that are not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>---
README | 20 -------------------- include/configs/ls2080a_simu.h | 3 --- 2 files changed, 23 deletions(-)
Quoted 7 lines
Quoted 3 lines
Reviewed-by Bin Meng <[email protected]>Should we clean up
scripts/config_whitelist.txtto 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.shscript 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.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161007/4a6d1cbb/attachment.sig>
PATCH 5/16 README: Drop unused CONFIG_SYS_LS_MC_FW_... options
In reply to Simon GlassQuoted 4 lines · Simon Glass
Drop a few that are not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/d46089c3/attachment.sig>
PATCH 6/16 README: Drop CONFIG_OF_BOOT_CPU
In reply to Simon GlassThis is not used in U-Boot.
---
README | 5 ----- 1 file changed, 5 deletions(-)
README +0 -5
@@ -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.
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 6/16 README: Drop CONFIG_OF_BOOT_CPU
Quoted 8 lines · Simon Glass
This is not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>---
README | 5 ----- 1 file changed, 5 deletions(-)
PATCH 6/16 README: Drop CONFIG_OF_BOOT_CPU
In reply to Simon GlassQuoted 4 lines · Simon Glass
This is not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/7d7c4d12/attachment.sig>
PATCH 7/16 README: Drop CONFIG_LAN91C96_BASE
In reply to Simon GlassThis is not used in U-Boot.
---
README | 4 ---- 1 file changed, 4 deletions(-)
README +0 -4
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 7/16 README: Drop CONFIG_LAN91C96_BASE
Quoted 8 lines · Simon Glass
This is not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>---
README | 4 ---- 1 file changed, 4 deletions(-)
PATCH 7/16 README: Drop CONFIG_LAN91C96_BASE
In reply to Simon GlassQuoted 4 lines · Simon Glass
This is not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/4919b33e/attachment.sig>
PATCH 8/16 README: Drop CONFIG_SYS_USB_BRG_CLK
In reply to Simon GlassThis is not used in U-Boot.
---
README | 4 ---- 1 file changed, 4 deletions(-)
README +0 -4
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 8/16 README: Drop CONFIG_SYS_USB_BRG_CLK
Quoted 8 lines · Simon Glass
This is not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>---
README | 4 ---- 1 file changed, 4 deletions(-)
PATCH 8/16 README: Drop CONFIG_SYS_USB_BRG_CLK
In reply to Simon GlassQuoted 4 lines · Simon Glass
This is not used in U-Boot.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/b2d767d9/attachment.sig>
PATCH 9/16 README: sh: Drop CONFIG_SYS_I2C_SH_BASE5
In reply to Simon GlassThis is not used in U-Boot. Drop both the BASE and the SIZE config.
---
README | 2 -- 1 file changed, 2 deletions(-)
README +0 -2
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 9/16 README: sh: Drop CONFIG_SYS_I2C_SH_BASE5
Quoted 8 lines · Simon Glass
This is not used in U-Boot. Drop both the BASE and the SIZE config.
Signed-off-by Simon Glass <[email protected]>---
README | 2 -- 1 file changed, 2 deletions(-)
PATCH 9/16 README: sh: Drop CONFIG_SYS_I2C_SH_BASE5
In reply to Simon GlassQuoted 4 lines · Simon Glass
This is not used in U-Boot. Drop both the BASE and the SIZE config.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/2a3e8852/attachment.sig>
PATCH 10/16 README: i2c: Drop unused i2c CONFIG options
In reply to Simon GlassCONFIG_SYS_NUM_I2C_ADAPTERS and CONFIG_SYS_I2C_MULTI_NOPROBES are not used in U-Boot, so drop them.
---
README | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
README +2 -5
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 10/16 README: i2c: Drop unused i2c CONFIG options
Hello Simon,
Am 03.10.2016 um 02:01 schrieb Simon Glass:
Quoted 8 lines
CONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_MULTI_NOPROBESare not used in U-Boot, so drop them.Signed-off-by Simon Glass <[email protected]>---
README | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
Thanks!
bye,
Heiko
Quoted 27 lines
README +2
-5@@ -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
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
PATCH 10/16 README: i2c: Drop unused i2c CONFIG options
In reply to Simon GlassQuoted 9 lines · Simon Glass
CONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_MULTI_NOPROBESare not used in U-Boot, so drop them.Signed-off-by Simon Glass <[email protected]>---
README | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
PATCH 10/16 README: i2c: Drop unused i2c CONFIG options
In reply to Simon GlassQuoted 6 lines · Simon Glass
CONFIG_SYS_NUM_I2C_ADAPTERSandCONFIG_SYS_I2C_MULTI_NOPROBESare not used in U-Boot, so drop them.Signed-off-by Simon Glass <[email protected]>Acked-by Heiko Schocher <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/96090eaa/attachment.sig>
PATCH 11/16 README: Drop CONFIG_SYS_INIT_DATA_SIZE
In reply to Simon GlassThis appears to be calculated automatically now. Drop the old reference.
---
README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
README +1 -1
@@ -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.
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 11/16 README: Drop CONFIG_SYS_INIT_DATA_SIZE
Quoted 8 lines · Simon Glass
This appears to be calculated automatically now. Drop the old reference.
Signed-off-by Simon Glass <[email protected]>---
README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH 11/16 README: Drop CONFIG_SYS_INIT_DATA_SIZE
In reply to Simon GlassQuoted 4 lines · Simon Glass
This appears to be calculated automatically now. Drop the old reference.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/f728818e/attachment.sig>
PATCH 12/16 README: Drop CONFIG_SYS_USE_OSCCLK
In reply to Simon GlassThis is not used in U-Boot so drop it.
---
README | 5 ----- 1 file changed, 5 deletions(-)
README +0 -5
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 12/16 README: Drop CONFIG_SYS_USE_OSCCLK
Quoted 8 lines · Simon Glass
This is not used in U-Boot so drop it.
Signed-off-by Simon Glass <[email protected]>---
README | 5 ----- 1 file changed, 5 deletions(-)
PATCH 12/16 README: Drop CONFIG_SYS_USE_OSCCLK
In reply to Simon GlassQuoted 4 lines · Simon Glass
This is not used in U-Boot so drop it.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/021c93e0/attachment.sig>
PATCH 13/16 atmel: Drop README.at91-soc
In reply to Simon GlassThis issue covered by this doc appears to be fixed, so let's remove the README.
---
doc/README.at91-soc | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc
doc/README.at91-soc deleted +0 -48
@@ -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 <[email protected]>: - -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.
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 13/16 atmel: Drop README.at91-soc
Quoted 10 lines · Simon Glass
This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by Simon Glass <[email protected]>---
doc/README.at91-soc | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc
PATCH 13/16 atmel: Drop README.at91-soc
In reply to Simon GlassQuoted 4 lines · Simon Glass
This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by Simon Glass <[email protected]>
Quoted 5 lines
---
doc/README.at91-soc | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 doc/README.at91-soc
PATCH 13/16 atmel: Drop README.at91-soc
In reply to Simon GlassQuoted 6 lines · Simon Glass
This issue covered by this doc appears to be fixed, so let's remove the README.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>Acked-by Andreas Bie?mann <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/308afa8b/attachment.sig>
PATCH 14/16 README: Drop README.imx31
In reply to Simon GlassThe only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it.
---
doc/README.imx31 | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 doc/README.imx31
doc/README.imx31 deleted +0 -29
@@ -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.
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 14/16 README: Drop README.imx31
Quoted 10 lines · Simon Glass
The only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it.
Signed-off-by Simon Glass <[email protected]>---
doc/README.imx31 | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 doc/README.imx31
PATCH 14/16 README: Drop README.imx31
In reply to Simon GlassQuoted 5 lines · Simon Glass
The only content of this file is CONFIG options which are no-longer present in U-Boot. Drop it.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/5dc539e5/attachment.sig>
PATCH 15/16 README: Drop CONFIG_MPC8349ADS
In reply to Simon GlassThis option is not used now.
---
doc/README.mpc83xxads | 1 - 1 file changed, 1 deletion(-)
doc/README.mpc83xxads +0 -1
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 15/16 README: Drop CONFIG_MPC8349ADS
Quoted 8 lines · Simon Glass
This option is not used now.
Signed-off-by Simon Glass <[email protected]>---
doc/README.mpc83xxads | 1 - 1 file changed, 1 deletion(-)
PATCH 15/16 README: Drop CONFIG_MPC8349ADS
In reply to Simon GlassQuoted 4 lines · Simon Glass
This option is not used now.
Signed-off-by Simon Glass <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/81a03143/attachment.sig>
PATCH 16/16 README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo
In reply to Simon GlassThis should be CONFIG_SYS_MAX_NAND_DEVICE. Fix it.
---
doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/README.nand +1 -1
@@ -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
Signature · 1 line
2.8.0.rc3.226.g39d4020
PATCH 16/16 README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo
Quoted 18 lines · Simon Glass
This should be
CONFIG_SYS_MAX_NAND_DEVICE. Fix it.Signed-off-by Simon Glass <[email protected]>---
?doc/README.nand | 2 +-
?1 file changed, 1 insertion(+), 1 deletion(-)doc/README.nand +0
-0@@ -160,7 +160,7 @@ Configuration Options:?
? /*
? ?* devnum is the device number to be used in nand commandsdoc/README.nand +1
-1- ?* 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.
Quoted 3 lines
? ?*/
? if (nand_register(devnum, mtd))
? error out
-Scott
PATCH 16/16 README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo
In reply to Simon GlassQuoted 8 lines · Simon Glass
This should be
CONFIG_SYS_MAX_NAND_DEVICE. Fix it.Signed-off-by Simon Glass <[email protected]>---
doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH 16/16 README: Fix CONFIG_SYS_NAND_MAX_DEVICE typo
In reply to Simon GlassQuoted 5 lines · Simon Glass
This should be
CONFIG_SYS_MAX_NAND_DEVICE. Fix it.Signed-off-by Simon Glass <[email protected]>Acked-by Scott Wood <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161006/c3fd6852/attachment.sig>
cover README: Clean up old CONFIG options
In reply to Simon GlassQuoted 25 lines · Simon Glass
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: DropCONFIG_COGENTand related options
README: CorrectCONFIG_ENV_OFFSET_RENDUNDtypo
README: Drop unused JFFS2 options
README: Drop unusedCONFIG_SYS_LS_MC_FW_... options
README: DropCONFIG_OF_BOOT_CPU
README: DropCONFIG_LAN91C96_BASE
README: DropCONFIG_SYS_USB_BRG_CLK
README: sh: DropCONFIG_SYS_I2C_SH_BASE5
README: i2c: Drop unused i2c CONFIG options
README: DropCONFIG_SYS_INIT_DATA_SIZE
README: DropCONFIG_SYS_USE_OSCCLK
atmel: Drop README.at91-soc
README: Drop README.imx31
README: DropCONFIG_MPC8349ADS
README: FixCONFIG_SYS_NAND_MAX_DEVICEtypo
Quoted 12 lines
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