uboot/lib
Nathan Rossi 623f60198b fdt: add memory bank decoding functions for board setup
Add two functions for use by board implementations to decode the memory
banks of the /memory node so as to populate the global data with
ram_size and board info for memory banks.

The fdtdec_setup_memory_size() function decodes the first memory bank
and sets up the gd->ram_size with the size of the memory bank. This
function should be called from the boards dram_init().

The fdtdec_setup_memory_banksize() function decode the memory banks
(up to the CONFIG_NR_DRAM_BANKS) and populates the base address and size
into the gd->bd->bi_dram array of banks. This function should be called
from the boards dram_init_banksize().

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <monstr@monstr.eu>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2016-12-20 09:15:28 +01:00
..
bzip2
dhry
efi x86: Tidy up selection of building the EFI stub 2016-11-14 23:24:03 +01:00
efi_loader efi_loader: Allow to compile helloworld.efi w/o bundling it 2016-11-27 09:53:39 -05:00
libfdt libfdt: fix fdt_stringlist_search() 2016-10-24 08:04:40 -04:00
lzma
lzo
rsa image: Combine image_sig_algo with image_sign_info 2016-11-21 14:07:31 -05:00
tizen
zlib Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
Kconfig smbios: Expose in efi_loader as table 2016-10-19 09:01:52 +02:00
Makefile x86: Move smbios generation into arch independent directory 2016-10-19 09:01:50 +02:00
addr_map.c
aes.c
asm-offsets.c
bch.c
bitrev.c
circbuf.c
crc7.c
crc8.c
crc16.c
crc32.c
ctype.c
display_options.c
div64.c lib: Don't instrument the div64 function 2016-02-26 08:53:10 -07:00
errno.c
errno_str.c lib: errno: introduce errno_str(): returns errno related message 2014-12-11 13:18:41 -07:00
fdtdec.c fdt: add memory bank decoding functions for board setup 2016-12-20 09:15:28 +01:00
fdtdec_common.c
fdtdec_test.c
gunzip.c gunzip: cache-align write buffer memory 2016-10-06 20:57:33 -04:00
gzip.c Move malloc_cache_aligned() to its own header 2015-09-11 17:15:16 -04:00
hang.c
hashtable.c spl: saveenv: adding saveenv support in SPL 2016-10-08 09:33:36 -04:00
initcall.c
ldiv.c
linux_compat.c
linux_string.c
list_sort.c
lmb.c
lz4.c
lz4_wrapper.c
md5.c
membuff.c
net_utils.c
panic.c lib: Split panic functions out of vsprintf.c 2015-12-13 17:07:30 -07:00
physmem.c
qsort.c
rand.c
rbtree.c
rc4.c
sha1.c rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
sha256.c rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
slre.c
smbios.c smbios: Provide serial number 2016-10-19 09:01:53 +02:00
string.c
strmhz.c
strto.c Fix return value in trailing_strtoln() 2016-10-11 11:55:33 +08:00
tables_csum.c x86: Move table csum into separate file 2016-10-19 09:01:50 +02:00
time.c
tiny-printf.c tiny-printf: Adjust to avoid using data section 2016-08-08 13:32:59 -04:00
tpm.c
trace.c
uuid.c
vsprintf.c