]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
common: Make sure arch-specific map_sysmem() is defined
authorJoe Hershberger <joe.hershberger@ni.com>
Sun, 22 Mar 2015 22:08:59 +0000 (17:08 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:30 +0000 (21:47 +0200)
commitd4cd15ace8f4a7d96fd77ba1b2781ab58e579451
tree748d808a913fd22fa7f155e7930590d308dee9e3
parentad2e6f88851adc589f2094d28d96e072fdced76d
common: Make sure arch-specific map_sysmem() is defined

In the case where the arch defines a custom map_sysmem(), make sure that
including just mapmem.h is sufficient to have these functions as they
are when the arch does not override it.

Also split the non-arch specific functions out of common.h

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
36 files changed:
arch/arm/lib/bootm.c
common/board_f.c
common/board_r.c
common/bootm.c
common/cmd_bootm.c
common/cmd_demo.c
common/cmd_fat.c
common/cmd_fdt.c
common/cmd_lzmadec.c
common/cmd_md5sum.c
common/cmd_mem.c
common/cmd_nvedit.c
common/cmd_pxe.c
common/cmd_sf.c
common/cmd_source.c
common/cmd_trace.c
common/cmd_ximg.c
common/hash.c
common/image-fdt.c
common/image-fit.c
common/image.c
common/iotrace.c
common/lcd.c
common/malloc_simple.c
drivers/demo/demo-simple.c
drivers/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c
drivers/mtd/spi/sf_probe.c
drivers/serial/ns16550.c
drivers/serial/serial_uniphier.c
fs/fs.c
include/common.h
include/mapmem.h [new file with mode: 0644]
lib/trace.c
test/compression.c
test/dm/cmd_dm.c