Kodak said today it has secured as much as $895 million to fund its operations after it emerges from bankruptcy protection.

JP Morgan, Bank of America Merrill Lynch and Barclays will supply senior secured term loans of up to $695 million.

The banks also will arrange a senior secured asset-based revolving credit facility of up to $200 million. They have agreed to provide $130 million of that facility.

Kodak said the financing will allow it repay loans that funded operations while under bankruptcy protection, finance its exit from Chapter 11 and fund its post-bankruptcy working capital, as well as provide cash.

The agreements are subject to court approval.

Eastman Kodak Co, based in Rochester, New York, filed for Chapter 11 bankruptcy protection in 2012 after years of cost-cutting efforts failed to save the company.