If timer_init() is made a weak stub function, then it allows us to
remove several empty timer_init functions for those boards that
already have a timer initialized when u-boot starts. Architectures
that use the timer framework may also remove the need for timer.c.
Signed-off-by: Darwin Rambo
Fixup prints to show where the print is done from, and
a few minor formatting/grammar issues.
Signed-off-by: Darwin Rambo
---
drivers/mmc/sdhci.c | 32 +++-
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
. Fix this issue by setting pointer 'str'
back to the location of the '\0'.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
---
lib/vsprintf.c |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 82e5c13..60874da 100644
--- a/lib/
> -Original Message-
> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com]
> Sent: Wednesday, December 25, 2013 11:32 PM
> To: Darwin Rambo; u-boot@lists.denx.de
> Cc: Pantelis Antoniou
> Subject: Re: [U-Boot] [PATCH] mmc: Minor cleanup of sdhci.c
>
> Hi, Darwin.
On 14-01-23 07:58 AM, Detlev Zundel wrote:
Hi Bhupesh,
-Original Message-
From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de]
On Behalf Of drambo
Sent: Thursday, January 23, 2014 12:32 AM
To: u-boot@lists.denx.de
Subject: Re: [U-Boot] how to get u-boot code with a
Add support for the Kona I2C controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/i2c/Makefile |1 +
drivers/i2c/kona_i2c.c | 730
2 files changed, 731
Add support for the bcm28155_ap reference board.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
board/broadcom/bcm28155_ap/Makefile |7 ++
board/broadcom/bcm28155_ap/bcm28155_ap.c | 99
boards.cfg
The Kona architecture is present on a number of Broadcom mobile SoCs
including the bcm281xx family of chips.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
arch/arm/cpu/armv7/Makefile|1 +
arch/arm/cpu/armv7/kona-common/Makefile
u-boot-arm custodian tree.
Darwin Rambo (6):
arch: kona: Initial commit of kona-common architecture code
arch: bcm281xx: Initial commit of bcm281xx architecture code
gpio: kona: Add Kona gpio driver
i2c: kona: Add Kona I2C driver
mmc: kona: Add Kona mmc driver
board: bcm28155_ap: Add
Add support for the Kona GPIO controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Markus Mayer
Reviewed-by: Tim Kryger
---
drivers/gpio/Makefile|1 +
drivers/gpio/kona_gpio.c | 143
Add bcm281xx architecture support code including a clock framework and
chip reset. Define register block base addresses for the bcm281xx
architecture and create an empty gpio header file required when
CONFIG_CMD_GPIO is set.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim
Add support for the Kona SDHCI found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/mmc/Makefile |1 +
drivers/mmc/kona_sdhci.c | 127 ++
2 files changed, 128 insertions
On 14-01-29 02:32 PM, Tom Rini wrote:
> On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote:
>
>> Add bcm281xx architecture support code including a clock framework and
>> chip reset. Define register block base addresses for the bcm281xx
>> architecture and cre
On 14-01-29 02:33 PM, Tom Rini wrote:
> On Mon, Jan 27, 2014 at 10:53:30AM -0800, Darwin Rambo wrote:
>
>> Add support for the bcm28155_ap reference board.
>>
>> Signed-off-by: Darwin Rambo
>> Reviewed-by: Steve Rae
>> Reviewed-by: Tim K
On 14-01-29 02:32 PM, Tom Rini wrote:
> On Mon, Jan 27, 2014 at 10:53:25AM -0800, Darwin Rambo wrote:
>
>> The Kona architecture is present on a number of Broadcom mobile SoCs
>> including the bcm281xx family of chips.
> [snip]
>> +int __weak clk_sdio_enabl
On 14-01-29 02:32 PM, Tom Rini wrote:
> On Mon, Jan 27, 2014 at 10:53:24AM -0800, Darwin Rambo wrote:
>
>> This patchset introduces the Broadcom bcm281xx family of mobile SoC
>> chips. Broadcom kona hardware blocks are often found in Broadcom mobile
>> SoC chips inclu
On 14-01-31 09:15 AM, Tom Rini wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 01/31/2014 12:05 PM, Tim Kryger wrote:
>> On Fri, Jan 31, 2014 at 6:17 AM, Tom Rini wrote:
>>> On 01/30/2014 06:05 PM, Darwin Rambo wrote:
>>>> We tried using t
On 14-01-31 09:54 AM, Tom Rini wrote:
> On Thu, Jan 30, 2014 at 02:03:41PM -0800, Darwin Rambo wrote:
>>
>>
>> On 14-01-29 02:32 PM, Tom Rini wrote:
>>> On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote:
>>>
>>>> Add bcm281xx archit
The Kona architecture is present on a number of Broadcom mobile SoCs
including the bcm281xx family of chips.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
arch/arm/cpu/armv7/Makefile|1 +
arch/arm/cpu/armv7/kona-common/Makefile
prompt.
Darwin Rambo (6):
arch: kona: Initial commit of kona-common architecture code
arch: bcm281xx: Initial commit of bcm281xx architecture code
gpio: kona: Add Kona gpio driver
i2c: kona: Add Kona I2C driver
mmc: kona: Add Kona mmc driver
board: bcm28155_ap: Add board files
arch
Add bcm281xx architecture support code including a clock framework and
chip reset. Define register block base addresses for the bcm281xx
architecture and create an empty gpio header file required when
CONFIG_CMD_GPIO is set.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim
Add support for the Kona GPIO controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Markus Mayer
Reviewed-by: Tim Kryger
---
drivers/gpio/Makefile|1 +
drivers/gpio/kona_gpio.c | 141
Add support for the Kona I2C controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/i2c/Makefile |1 +
drivers/i2c/kona_i2c.c | 730
2 files changed, 731
Add support for the Kona SDHCI found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/mmc/Makefile |1 +
drivers/mmc/kona_sdhci.c | 125 ++
2 files changed, 126 insertions
Add support for the bcm28155_ap reference board.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
board/broadcom/bcm28155_ap/Makefile |7 ++
board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++
boards.cfg
Sorry folks, I missed my morning caffeine and mislabeled the patch version in
the subject as v1. I will be resending the series with the proper v2 versioning
asap to avoid confusion.
Regards,
Darwin
> -Original Message-
> From: Darwin Rambo [mailto:dra...@broadcom.com]
> Sen
The Kona architecture is present on a number of Broadcom mobile SoCs
including the bcm281xx family of chips.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
arch/arm/cpu/armv7/Makefile|1 +
arch/arm/cpu/armv7/kona-common/Makefile
Add bcm281xx architecture support code including a clock framework and
chip reset. Define register block base addresses for the bcm281xx
architecture and create an empty gpio header file required when
CONFIG_CMD_GPIO is set.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim
prompt.
Darwin Rambo (6):
arch: kona: Initial commit of kona-common architecture code
arch: bcm281xx: Initial commit of bcm281xx architecture code
gpio: kona: Add Kona gpio driver
i2c: kona: Add Kona I2C driver
mmc: kona: Add Kona mmc driver
board: bcm28155_ap: Add board files
arch
Add support for the bcm28155_ap reference board.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
board/broadcom/bcm28155_ap/Makefile |7 ++
board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++
boards.cfg
Add support for the Kona GPIO controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Markus Mayer
Reviewed-by: Tim Kryger
---
drivers/gpio/Makefile|1 +
drivers/gpio/kona_gpio.c | 141
Add support for the Kona SDHCI found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/mmc/Makefile |1 +
drivers/mmc/kona_sdhci.c | 125 ++
2 files changed, 126 insertions
Add support for the Kona I2C controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/i2c/Makefile |1 +
drivers/i2c/kona_i2c.c | 730
2 files changed, 731
On 14-02-03 05:12 PM, Jaehoon Chung wrote:
> On 02/04/2014 06:03 AM, Darwin Rambo wrote:
>> Add support for the Kona SDHCI found on Broadcom mobile SoCs.
>>
>> Signed-off-by: Darwin Rambo
>> Reviewed-by: Steve Rae
>> Reviewed-by: Tim Kryger
>>
On 14-02-03 11:22 PM, Heiko Schocher wrote:
> Hello Darwin,
>
> Am 03.02.2014 23:12, schrieb Darwin Rambo:
>> Add support for the Kona I2C controller found on Broadcom mobile SoCs.
>>
>> Signed-off-by: Darwin Rambo
>> Reviewed-by: Steve Rae
>> Revie
,
cosmetic changes, dead code removal. Create include/bitfield.h.
Use get_ram_size(). Use weak timer_init(); Skip lowlevel init.
Remove memory test config. Use standard baud table and prompt.
Darwin Rambo (6):
arch: kona: Initial commit of kona-common architecture code
arch: bcm281xx: Initial
Add support for the bcm28155_ap reference board.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
board/broadcom/bcm28155_ap/Makefile |7 ++
board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++
boards.cfg
The Kona architecture is present on a number of Broadcom mobile SoCs
including the bcm281xx family of chips.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
arch/arm/cpu/armv7/Makefile|1 +
arch/arm/cpu/armv7/kona-common/Makefile
Add support for the Kona I2C controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/i2c/Makefile |1 +
drivers/i2c/kona_i2c.c | 730
2 files changed, 731
Add support for the Kona GPIO controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Markus Mayer
Reviewed-by: Tim Kryger
---
drivers/gpio/Makefile|1 +
drivers/gpio/kona_gpio.c | 141
Add support for the Kona SDHCI found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/mmc/Makefile |1 +
drivers/mmc/kona_sdhci.c | 134 ++
2 files changed, 135 insertions
Add bcm281xx architecture support code including a clock framework and
chip reset. Define register block base addresses for the bcm281xx
architecture and create an empty gpio header file required when
CONFIG_CMD_GPIO is set.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim
!
Regards,
Darwin
On 14-02-06 07:23 PM, Darwin Rambo wrote:
> This patchset introduces the Broadcom bcm281xx family of mobile SoC
> chips. Broadcom kona hardware blocks are often found in Broadcom mobile
> SoC chips including the bcm281xx family, so support for some of these
> kona bl
The Kona architecture is present on a number of Broadcom mobile SoCs
including the bcm281xx family of chips.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
arch/arm/cpu/armv7/Makefile|1 +
arch/arm/cpu/armv7/kona-common/Makefile
header for bitfield.h
v2 changes
--
Delete lowlevel_init.S and create s_init.c. File header cleanup,
cosmetic changes, dead code removal. Create include/bitfield.h.
Use get_ram_size(). Use weak timer_init(); Skip lowlevel init.
Remove memory test config. Use standard baud table and prompt.
Da
Add support for the bcm28155_ap reference board.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
board/broadcom/bcm28155_ap/Makefile |7 ++
board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++
boards.cfg
Add support for the Kona I2C controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/i2c/Makefile |1 +
drivers/i2c/kona_i2c.c | 730
2 files changed, 731
Add bcm281xx architecture support code including a clock framework and
chip reset. Define register block base addresses for the bcm281xx
architecture and create an empty gpio header file required when
CONFIG_CMD_GPIO is set.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim
Add support for the Kona GPIO controller found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Markus Mayer
Reviewed-by: Tim Kryger
---
drivers/gpio/Makefile|1 +
drivers/gpio/kona_gpio.c | 141
Add support for the Kona SDHCI found on Broadcom mobile SoCs.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
Reviewed-by: Tim Kryger
---
drivers/mmc/Makefile |1 +
drivers/mmc/kona_sdhci.c | 134 ++
2 files changed, 135 insertions
orm..." clauses below, we could try to
find an alternative implementation that is GPL2.0+ licensed or rewrite
the parts we need from scratch.
Any suggestions you have would be most welcome. Thanks.
Regards,
Darwin Rambo
> /*
> * Copyright (c) 2013-2014, ARM Limited and Contrib
On 14-02-28 10:49 AM, Tom Rini wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 02/28/2014 01:18 PM, Darwin Rambo wrote:
>> Given the ARM header below, is this code possible to put into
>> u-boot?
>>
>> For reference, I see this discussion below
semihosting functionality is
required, such as file seek, outputting strings, reading characters, etc,
then it can be easily added later.
Signed-off-by: Darwin Rambo
---
arch/arm/include/asm/semihosting.h | 21 +++
arch/arm/lib/Makefile |1 +
arch/arm/lib/semihosting.c
On 14-03-12 09:24 AM, Tom Rini wrote:
> On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote:
>
>> The reason for this change is to be able to use the ARM Trusted Firmware
>> (ATF) to load the various ATF images, plus u-boot, which can then load
>> the kernel/r
On 14-03-12 09:41 AM, Albert ARIBAUD wrote:
> Hi Darwin,
>
> On Wed, 12 Mar 2014 09:04:01 -0700, Darwin Rambo
> wrote:
>
>> The reason for this change is to be able to use the ARM Trusted Firmware
>> (ATF) to load the various ATF images, plus u-boot, which can then
On 14-03-12 10:18 AM, Tom Rini wrote:
> On Wed, Mar 12, 2014 at 09:41:20AM -0700, Darwin Rambo wrote:
>>
>>
>> On 14-03-12 09:24 AM, Tom Rini wrote:
>>> On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote:
> [snip]
>>>> +
,
then it can be easily added later.
Signed-off-by: Darwin Rambo
---
Changes in v2:
- use kernel_addr_r, fdt_addr_r, initrd_addr_r convention.
- Use env variables for kernel/fdt/initrd file names.
- Add CONFIG_BASE_FVP to differentiate VE and BASE FVP models.
- CONFIG_SEMIHOSTING only refers to
,
then it can be easily added later.
Signed-off-by: Darwin Rambo
---
Changes in v3:
- minor format fixup in board file
Changes in v2:
- use kernel_addr_r, fdt_addr_r, initrd_addr_r convention.
- Use env variables for kernel/fdt/initrd file names.
- Add CONFIG_BASE_FVP to differentiate VE and BASE
Hi Albert,
The previous stage bootloader (which I had no control over) wanted it's
header to be aligned to a 512 byte MMC block boundary, presumably since
this allowed DMA operations without copy/shifting. At the same time, I
didn't want to hack a header into start.S because I didn't want to c
Cleanup to balance malloc/free calls.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
---
drivers/mmc/kona_sdhci.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c
index 77e42c8..f804f4c 100644
--- a/drivers
On 14-06-02 12:26 AM, Albert ARIBAUD wrote:
Hi Darwin,
On Mon, 26 May 2014 09:11:35 -0700, Darwin Rambo
wrote:
Hi Albert,
The previous stage bootloader (which I had no control over) wanted it's
header to be aligned to a 512 byte MMC block boundary, presumably since
this allowe
service trap opcode.
Please refer to README.semihosting for a more detailed description of
semihosting and how it is used with the armv8 virtual platforms.
Signed-off-by: Darwin Rambo
Cc: tr...@ti.com
Cc: feng...@phytium.com.cn
Cc: bhupesh.sha...@freescale.com
---
Changes in v5:
- Shorten and
On 14-06-09 11:25 AM, Albert ARIBAUD wrote:
Hi Darwin,
On Mon, 9 Jun 2014 11:12:59 -0700, Darwin Rambo
wrote:
[...]
Please refer to README.semihosting for a more detailed description of
semihosting and how it is used with the armv8 virtual platforms.
With your permission, will apply but
From: "Shaibal.Dutta"
Fix following compilation error when CONFIG_ARM64 is defined
Error: unknown or missing system register name at operand 2
-- `mrs x0,daifmsr daifset,#3'
Signed-off-by: Shaibal.Dutta
Signed-off-by: Darwin Rambo
Reviewed-by: Darwin Rambo
---
arch/arm/i
This corrects i2c core to interpret the value returned by
i2c_set_bus_speed as a success indicator rather than the
actual speed that was set. When i2c_set_bus_speed returns
a failure code, the speed is unknown so the adapter speed
is set to zero.
Signed-off-by: Darwin Rambo
Reviewed-by: Tim
gn 11"
which I believe means 0x800 or 2048.
Note that an armv7 target appears to relocate properly with smaller
offsets such as 0x20.
Thanks.
Best Regards,
Darwin Rambo
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
n tested there and may not be appropriate
for other architectures.
Signed-off-by: Darwin Rambo
Reviewed-by: Steve Rae
---
arch/arm/lib/board.c | 13 +
common/board_f.c | 10 ++
2 files changed, 23 insertions(+)
diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board
On 14-05-14 09:26 PM, Wolfgang Denk wrote:
Dear Darwin Rambo,
In message <1400105145-6628-1-git-send-email-dra...@broadcom.com> you wrote:
If an earlier loader stage requires an image header and a specific
offset, then u-boot's base address (CONFIG_SYS_TEXT_BASE) may be
advance
On 14-05-14 03:41 PM, Jeroen Hofstee wrote:
Hello Darwin,
On wo, 2014-05-14 at 15:05 -0700, Darwin Rambo wrote:
+#ifdef CONFIG_ARM64
+ /*
+* Fix relocation if u-boot is not on an aligned address.
+*/
+ {
+ int offset = CONFIG_SYS_TEXT_BASE % 4096
On 14-05-15 08:21 AM, Wolfgang Denk wrote:
Dear Darwin,
In message <5374cd55.3010...@broadcom.com> you wrote:
Do you really want to check a define at runtime? Placement is typically
at the end of RAM and allocation goes down, not up as in this patch.
Aren't you overlapping memory here?
Yes, I
On 14-05-16 06:47 AM, feng...@phytium.com.cn wrote:
hi Darwin,
It's a little late.
I'm hoping someone can help answer these questions about armv8
relocation.
The CONFIG_SYS_TEXT_BASE seems to be be usually setup to a decent
amount of alignment. For the purposes of this discussion, l
On 14-05-16 01:28 PM, Wolfgang Denk wrote:
Dear Darwin,
In message <53763b78.6030...@broadcom.com> you wrote:
3. Fixed offset case:
CONFIG_SYS_TEXT_BASE = 0x8820
You completely fail to respond to my repeated statement that a
CONFIG_SYS_TEXT_BASE like this is bogus.
I want to set it thi
-----
From: Darwin Rambo [mailto:dra...@broadcom.com]
Sent: Tuesday, March 25, 2014 12:46 AM
To: u-boot@lists.denx.de
Cc: Darwin Rambo; Albert Aribaud; Tom Rini; feng...@phytium.com.cn;
Sharma Bhupesh-B45370
Subject: [PATCH v3] arm: Add support for semihosting for armv8 fastmodel
targets.
The reaso
,
then it can be easily added later.
Signed-off-by: Darwin Rambo
Cc: tr...@ti.com
Cc: feng...@phytium.com.cn
Cc: bhupesh.sha...@freescale.com
---
Changes in v4:
- refreshed patch and retested
- fix boards.cfg conflict
- fix GICV3 conflict
- minor documentation cleanup - semihosting.c
74 matches
Mail list logo