public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/3] add support for the at91 based smartweb board
@ 2015-06-29  7:10 Heiko Schocher
  2015-06-29  7:10 ` [U-Boot] [PATCH v2 1/3] spl, common, serial: build SPL without serial support Heiko Schocher
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Heiko Schocher @ 2015-06-29  7:10 UTC (permalink / raw)
  To: u-boot

add support for the at91sam9260 based board smartweb from
siemens. SPL is used without serial support, as this
SoC has only 4k sram for running SPL. Here a U-Boot
bootlog:

RomBOOT
>

U-Boot 2015.07-rc2-00109-g4ae828c (Jun 15 2015 - 09:31:16 +0200)

CPU: AT91SAM9260
Crystal frequency:   18.432 MHz
CPU clock        :  198.656 MHz
Master clock     :   99.328 MHz
       Watchdog enabled
DRAM:  64 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   macb0
Hit any key to stop autoboot:  0
U-Boot>

As this board is based on sam9260 SoC with 4k sram only, SPL
must be small, so SPL is compiled without serial support.
Therefore the code needs here and there some small fixes to
support SPL compile without serial support.

Changes in v2:
- add comment from Tom Rini:
  - do not delete __maybe_unused
  - remove preloader_console_init() in non SERIAL case
- squashed patch "lib/display_options: fix compiler warnings"
  into this patch.
- add Acked-by from Scott Wood
- rebase to 7853d76b0bdab9b

Heiko Schocher (3):
  spl, common, serial: build SPL without serial support
  nand, atmel: remove udelay in spl_nand_erase_one()
  arm, at91: support for sam9260 based smwartweb board

 arch/arm/include/asm/mach-types.h  |   1 +
 arch/arm/lib/interrupts.c          |   4 +-
 arch/arm/mach-at91/Kconfig         |   6 +
 arch/arm/mach-at91/Makefile        |   1 +
 arch/arm/mach-at91/arm926ejs/cpu.c |   2 +-
 arch/arm/mach-at91/spl_at91.c      |   3 +
 board/siemens/smartweb/Kconfig     |  12 ++
 board/siemens/smartweb/MAINTAINERS |   6 +
 board/siemens/smartweb/Makefile    |  20 +++
 board/siemens/smartweb/smartweb.c  | 220 ++++++++++++++++++++++++++++
 common/Makefile                    |   4 +
 common/cli_readline.c              |   2 +-
 common/cli_simple.c                |   2 +-
 common/image.c                     |   8 +-
 configs/smartweb_defconfig         |   6 +
 drivers/mtd/nand/atmel_nand.c      |   2 -
 include/common.h                   |   7 +
 include/configs/apf27.h            |   1 +
 include/configs/mx31pdk.h          |   1 +
 include/configs/mxs.h              |   1 +
 include/configs/smartweb.h         | 289 +++++++++++++++++++++++++++++++++++++
 include/configs/tx25.h             |   1 +
 lib/display_options.c              |  13 +-
 23 files changed, 600 insertions(+), 12 deletions(-)
 create mode 100644 board/siemens/smartweb/Kconfig
 create mode 100644 board/siemens/smartweb/MAINTAINERS
 create mode 100644 board/siemens/smartweb/Makefile
 create mode 100644 board/siemens/smartweb/smartweb.c
 create mode 100644 configs/smartweb_defconfig
 create mode 100644 include/configs/smartweb.h

-- 
2.1.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-08-14  9:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-29  7:10 [U-Boot] [PATCH v2 0/3] add support for the at91 based smartweb board Heiko Schocher
2015-06-29  7:10 ` [U-Boot] [PATCH v2 1/3] spl, common, serial: build SPL without serial support Heiko Schocher
2015-08-13 13:17   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-06-29  7:10 ` [U-Boot] [PATCH v2 2/3] nand, atmel: remove udelay in spl_nand_erase_one() Heiko Schocher
2015-08-13 13:17   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-06-29  7:10 ` [U-Boot] [PATCH v2 3/3] arm, at91: support for sam9260 based smwartweb board Heiko Schocher
2015-08-13 13:17   ` [U-Boot] [U-Boot, v2, " Tom Rini
2015-08-14  9:37     ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox