- Nov 25, 2008
-
- Nov 24, 2008
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Jens Scharsig authored
This patch fix the broken boot from NOR Flash on AT91RM9200 boards, if CONFIG_AT91RM9200 is defined and nor preloader is used. Signed-off-by:
Jens Scharsig <esw@bus-elektronik.de>
-
Piotr Ziecik authored
With this patch UBI can be used on CFI flash chips. Signed-off-by:
Piotr Ziecik <kosmo@semihalf.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Piotr Ziecik authored
Remove a printf() from add_mtd_device(), which produces spurious output. Signed-off-by:
Piotr Ziecik <kosmo@semihalf.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Piotr Ziecik authored
Add cfi-mtd driver, which exports CFI flash to MTD layer. This allows CFI flash devices to be used from MTD layer. Building of the new driver is controlled by CONFIG_FLASH_CFI_MTD option. Initialization is done by calling cfi_mtd_init() from flash_init(). Signed-off-by:
Piotr Ziecik <kosmo@semihalf.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Piotr Ziecik authored
Add interface for flash verbosity control. It allows to disable output from low-level flash API. It is useful when calling these low-level functions from context other than flash commands (for example the MTD/CFI interface implmentation). Signed-off-by:
Piotr Ziecik <kosmo@semihalf.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Piotr Ziecik authored
Export flash_sector_size() function from drivers/mtd/cfi_flash.c, so that it can be used in the upcoming cfi-mtd driver. Signed-off-by:
Piotr Ziecik <kosmo@semihalf.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefan Roese authored
This patch defines all flash access functions as weak so that they can be overridden by board specific versions. This will be used by the upcoming VCTH board support where the NOR FLASH unfortunately can't be accessed memory-mapped. Special accessor functions are needed here. To enable this weak functions you need to define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS in your board config header. Otherwise the "old" default functions will be used resulting in smaller code. Signed-off-by:
Stefan Roese <sr@denx.de> Acked-by:
Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
-
Stefan Roese authored
Currently the size parameters of the UBI commands (e.g. "ubi write") are decoded as decimal instead of hex as default. This patch now interprets all these values consistantly as hex, as all other standard U-Boot commands do. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Nov 21, 2008
-
-
Stelian Pop authored
At least some (old ?) versions of the AT91Bootstrap do not set up the PLLB correctly to 48 MHz in order to make USB host function correctly. This patch sets up the PLLB to the same values Linux uses, and makes USB work ok on the following CPUs: - AT91CAP9 - AT91SAM9260 - AT91SAM9263 This patch also defines CONFIG_USB_STORAGE and CONFIG_CMD_FAT for all the relevant AT91CAP9/AT91SAM9 atmel boards. Signed-off-by:
Stelian Pop <stelian@popies.net> Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Stelian Pop authored
Introduce AT91_CPU_CLOCK and use it for displaying the CPU speed in the LCD driver. Also make AT91_MAIN_CLOCK and AT91_MASTER_CLOCK reflect the corresponding board clocks. Signed-off-by:
Stelian Pop <stelian@popies.net>
-
- Nov 20, 2008
-
-
Heiko Schocher authored
Signed-off-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
Howard Gregory authored
modify the CAS timings. my understanding is that these settings decrease various wait times in the DDR interface. Because these wait times are in clock cycles, and the DDR clock on the 8315 RDB runs slower than on some other 83xx platforms, we can dial down these values without a problem, thereby decreasing the latency of memory a little. Signed-off-by:
Howard Gregory <Greg.Howard@freescale.com> Signed-off-by:
Dave Liu <daveliu@freescale.com> Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
- Nov 19, 2008
-
-
Kyungmin Park authored
To enable UBI on Apollon you need to uncomment the CONFIG_SYS_USE_UBI macro. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds these UBI commands: ubi part [nand|onenand] [part] - Show or set current partition ubi info [l[ayout]] -Display volume and UBI layout information ubi create[vol] volume [size] [type] - Create volume name with size ubi write[vol] address volume size - Write volume from address with size ubi read[vol] address volume [size] - Read volume to address with size ubi remove[vol] volume - Remove volume Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This patch adds basic UBI (Unsorted Block Image) support to U-Boot. It's based on the Linux UBI version and basically has a "OS" translation wrapper that defines most Linux specific calls (spin_lock() etc.) into no-ops. Some source code parts have been uncommented by "#ifdef UBI_LINUX". This makes it easier to compare this version with the Linux version and simplifies future UBI ports/bug-fixes from the Linux version. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Kyungmin Park authored
This MTD part infrastructure will be used by the upcoming UBI support. Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Nov 18, 2008
-
-
Selvamuthukumar authored
Most of the bss initialization loop increments 4 bytes at a time. And the loop end is checked for an 'equal' condition. Make the bss end address aligned by 4, so that the loop will end as expected. Signed-off-by:
Selvamuthukumar <selva.muthukumar@e-coninfotech.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Nov 11, 2008
-
-
Becky Bruce authored
address-cells defaults to 2, not 1; so in the unlikely event that it isn't specified, this patch is required for correct operation. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
- Nov 10, 2008
-
-
Becky Bruce authored
Doing trap_init immediately once we're running from RAM means we're no longer dependent on the physical location of the flash on non-BookE platforms. Before trap_init, those platforms switch to real mode and go to 0xfff00100 on exception. After the switch, they go to 0x00000100 This makes it easier to move the flash location. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
Since we've changed the memory map of the board, be nice and add some checking to try to catch out-of-date .dts files. We do this by checking the CCSRBAR location in the .dts and comparing it to the CCSRBAR location in u-boot. If they don't match, a warning msg is printed. This isn't foolproof, but it's simple and will catch most of the cases where an out-of-date .dts is present, including all of the cases where a new u-boot is used with an old standard MPC8641 .dts file as supplied with Linux. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
This will enable CONFIG_PHYS_36BIT for MPC8641HPCN. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
This patch creates a memory map with all the devices in 36-bit physical space, in addition to the 32-bit map. The CCSR relocation is moved (again, sorry) to allow for the physical address to be 36 bits - this requires translation to be enabled. With 36-bit physical addressing enabled, we are no longer running with VA=PA translations. This means we have to distinguish between the two in the config file. The existing region name is used to indicate the virtual address, and a _PHYS variety is created to represent the physical address. Large physical addressing is not enabled by default. Set CONFIG_PHYS_64BIT in the config file to turn this on. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
The memory map on the 8641hpcn is modified to look more like the 85xx boards; this is a step towards a more standardized layout going forward. As part of this change, we now relocate the flash. The regions for some of the mappings were far larger than they needed to be. I have reduced the mappings to match the actual sizes supported by the hardware. In addition I have removed the comments at the head of the BAT blocks in the config file, rather than updating them. These get horribly out of date, and it's a simple matter to look at the defines to see what they are set to since everything is right here in the same file. Documentation has been changed to reflect the new map, as this change is user visible, and affects the OS which runs post-uboot. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
We define CONFIG_MONITOR_BASE_EARLY to define the initial location of the bootpage in flash. Use this to create an early mapping definition for the FLASH, and change the early_bats code to use this. This change facilitates the relocation of the flash since the early mappings are no longer tied to the final location of the flash. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
Using a mtmsr/blr means that you have to be executing at the same virtual address once you enable translation. This is unnecessarily restrictive, and is not really how this is usually done. Change it to use the more common mtspr SRR0/SRR1 and rfi method. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
Currently, that's what it is, but it's hardcoded. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
There's a lot of setup and foo for the second flash bank. The problem is, this board doesn't actually have one. Clean this up. Also, the flash is 8M in size. Get rid of the confusing aliased overmapping, and just map 8M. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-
Becky Bruce authored
It's currently defined twice inside in an if/else block, but both halves set the same value. Move the define outside the if. Signed-off-by:
Becky Bruce <becky.bruce@freescale.com>
-