diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-30 13:57:22 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-08-01 21:49:33 +0800 |
commit | 95067e23ac78db76db3afddc92e17b6789012d38 (patch) | |
tree | 4c3d417d7ae43ec834c1ebe5950652da5072b5d7 /arch/arm/include/asm | |
parent | b821d73607cc6387b1ee588af97a44e8eb2b4fe2 (diff) | |
download | barebox-95067e23ac78db76db3afddc92e17b6789012d38.tar.gz barebox-95067e23ac78db76db3afddc92e17b6789012d38.tar.xz |
arm: introduce arm_add_mem_device to register dram device
this will automaticaly register the device to armlinux_add_dram
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/armlinux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h index 3cab209d60..f76cca875f 100644 --- a/arch/arm/include/asm/armlinux.h +++ b/arch/arm/include/asm/armlinux.h @@ -34,4 +34,7 @@ struct image_data; void start_linux(void *adr, int swap, struct image_data *data); +struct device_d *arm_add_mem_device(const char* name, resource_size_t start, + resource_size_t size); + #endif /* __ARCH_ARMLINUX_H */ |