diff options
Diffstat (limited to 'firmware/target/arm/ata-nand-telechips.c')
-rw-r--r-- | firmware/target/arm/ata-nand-telechips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c index 55f6b1f3f7..d61c223219 100644 --- a/firmware/target/arm/ata-nand-telechips.c +++ b/firmware/target/arm/ata-nand-telechips.c | |||
@@ -915,7 +915,7 @@ int nand_init(void) | |||
915 | #ifndef BOOTLOADER | 915 | #ifndef BOOTLOADER |
916 | /* Use chip info to allocate the correct size LPT buffer */ | 916 | /* Use chip info to allocate the correct size LPT buffer */ |
917 | lptbuf_size = sizeof(struct lpt_entry) * segments_per_bank * total_banks; | 917 | lptbuf_size = sizeof(struct lpt_entry) * segments_per_bank * total_banks; |
918 | lpt_handle = core_alloc("lpt lookup", lptbuf_size); | 918 | lpt_handle = core_alloc(lptbuf_size); |
919 | struct lpt_entry* lpt_lookup = core_get_data(lpt_handle); | 919 | struct lpt_entry* lpt_lookup = core_get_data(lpt_handle); |
920 | #else | 920 | #else |
921 | /* Use a static array in the bootloader */ | 921 | /* Use a static array in the bootloader */ |