All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig
Date: Mon, 26 Jan 2015 08:44:09 +0100	[thread overview]
Message-ID: <54C5F049.7080600@redhat.com> (raw)
In-Reply-To: <CAPnjgZ3tiaSOHCy0LVzbR_TGWXNUpSyCfujcje68jg8__trtNg@mail.gmail.com>

Hi,

On 26-01-15 04:30, Simon Glass wrote:
> Hi Adam,
>
> On 25 January 2015 at 08:24, Adam Sampson <ats@offog.org> wrote:
>> This is a low-cost Allwinner A20 board with Arduino-style GPIO headers;
>> it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro
>> USB socket for OTG and another for power in, HDMI, SATA, 5V power for
>> SATA devices, gigabit Ethernet, an IR receiver, 3.5mm audio out and a
>> MIPI camera connector.
>>
>> For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano
>>
>> Signed-off-by: Adam Sampson <ats@offog.org>
>> ---
>>   board/sunxi/MAINTAINERS                    |    5 +++++
>>   configs/Linksprite_pcDuino3_Nano_defconfig |   11 +++++++++++
>>   2 files changed, 16 insertions(+)
>>   create mode 100644 configs/Linksprite_pcDuino3_Nano_defconfig
>>
>> diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
>> index 743e7f5..479d147 100644
>> --- a/board/sunxi/MAINTAINERS
>> +++ b/board/sunxi/MAINTAINERS
>> @@ -100,3 +100,8 @@ MELE M5 BOARD
>>   M:     Ian Campbell <ijc@hellion.org.uk>
>>   S:     Maintained
>>   F:     configs/Mele_M5_defconfig
>> +
>> +LINKSPRITE-PCDUINO3-NANO BOARD
>> +M:     Adam Sampson <ats@offog.org>
>> +S:     Maintained
>> +F:     configs/Linksprite_pcDuino3_Nano_defconfig
>> diff --git a/configs/Linksprite_pcDuino3_Nano_defconfig b/configs/Linksprite_pcDuino3_Nano_defconfig
>> new file mode 100644
>> index 0000000..22435eb
>> --- /dev/null
>> +++ b/configs/Linksprite_pcDuino3_Nano_defconfig
>> @@ -0,0 +1,11 @@
>> +CONFIG_SPL=y
>> +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,SUNXI_GMAC,AHCI,SATAPWR=SUNXI_GPH(2),USB_EHCI"
>> +CONFIG_FDTFILE="sun7i-a20-pcduino3-nano.dtb"
>> +CONFIG_USB1_VBUS_PIN="PH11"
>> ++S:CONFIG_ARM=y
>> ++S:CONFIG_ARCH_SUNXI=y
>> ++S:CONFIG_MACH_SUN7I=y
>> ++S:CONFIG_TARGET_PCDUINO3_NANO=y
>> ++S:CONFIG_DRAM_CLK=408
>> ++S:CONFIG_DRAM_ZQ=122
>> ++S:CONFIG_DRAM_EMR1=4
>
> Since this is a new board, could it follow along ith the Linksprice
> pcDuino3 and support driver rmodel / device tree?

That is a good idea, I think we should be slowly moving over all sunxi
boards to this. Note I'll merge this version as is for now, lets wait
with the devicetree version till the dts is accepted in the upstream
kernel (*).

While on this subject I do want to move to devicetree everywhere, but
I don't want 2 configs per board like with the Linksprite_pcDuino3
from an end user pov the resulting u-boot-sunxi-with-spl.bin works
identical, and that is what we tell sunxi users to use.

So my plan is to just drop the non fdt version of the Linksprite_pcDuino3
config and drop the _fdt suffix on the fdt version, any objections
against that ?

Regards,

Hans




*) Once we've gone all devicetree we need to revisit this as I don't
want new board additions be blocked on this

  reply	other threads:[~2015-01-26  7:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-25 15:24 [U-Boot] [PATCH] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig Adam Sampson
2015-01-26  3:30 ` Simon Glass
2015-01-26  7:44   ` Hans de Goede [this message]
2015-01-26 16:17     ` Simon Glass
2015-01-26 14:51 ` Hans de Goede
2015-01-26 15:15 ` christophe.le.roux.1 at gmail.com
2015-01-26 22:33   ` Adam Sampson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54C5F049.7080600@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.